acf_reset_meta()
acf_reset_meta
Removes postmeta to storage.
No Hooks.
Returns
null. Nothing (null).
Usage
acf_reset_meta( $post_id );
- $post_id
- .
Notes
- See: ACF_Local_Meta::remove() for list of parameters.
Changelog
| Since 5.8.0 | Introduced. |
acf_reset_meta() acf reset meta code ACF 6.0.4
function acf_reset_meta( $post_id = 0 ) {
return acf_get_instance( 'ACF_Local_Meta' )->remove( $post_id );
}