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