acf/pre_load_meta

acf/pre_load_meta

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.5.12

apply_filters('acf/pre_load_meta') is found 1 times:

  • /includes/acf-meta-functions.php line 16
     */
    function acf_get_meta( $post_id = 0 ) {
    
    	// Allow filter to short-circuit load_value logic.
    	$null = apply_filters( 'acf/pre_load_meta', null, $post_id );
    	if ( $null !== null ) {
    		return ( $null === '__return_null' ) ? null : $null;
    	}
    
    	// Decode $post_id for $type and $id.
    	$decoded = acf_decode_post_id( $post_id );