⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Fix PHPDoc comments for update functions#953

Open
takotakot wants to merge 1 commit intoAdvancedCustomFields:masterfrom
takotakot:phpdoc_for_update
Open

Fix PHPDoc comments for update functions#953
takotakot wants to merge 1 commit intoAdvancedCustomFields:masterfrom
takotakot:phpdoc_for_update

Conversation

@takotakot
Copy link

The return type of acf_update_metadata is integer|boolean .
See:

*
* @return integer|boolean Meta ID if the key didn't exist, true on successful update, false on failure.
*/
function acf_update_metadata( $post_id = 0, $name = '', $value = '', $hidden = false ) {

This is necessary for type consistency with other functions.

@takotakot takotakot requested a review from a team as a code owner April 4, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant