Skip to content

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