acf/pre_delete_metadata
acf/pre_delete_metadata
Appears in: advanced-custom-fields.5.12
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.5.12apply_filters('acf/pre_delete_metadata') is found 1 times:
- /includes/acf-meta-functions.php line 215
* @return bool */ function acf_delete_metadata( $post_id = 0, $name = '', $hidden = false ) { // Allow filter to short-circuit logic. $pre = apply_filters( 'acf/pre_delete_metadata', null, $post_id, $name, $hidden ); if ( $pre !== null ) { return $pre; } // Decode $post_id for $type and $id. $decoded = acf_decode_post_id( $post_id );