acf/pre_load_reference
acf/pre_load_reference
Appears in: advanced-custom-fields.6.2.6.1
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.6.1apply_filters('acf/pre_load_reference') is found 1 times:
- /includes/acf-value-functions.php line 21
*/ function acf_get_reference( $field_name, $post_id ) { // Allow filter to short-circuit load_value logic. $reference = apply_filters( 'acf/pre_load_reference', null, $field_name, $post_id ); if ( $reference !== null ) { return $reference; } // Get hidden meta for this field name. $reference = acf_get_metadata( $post_id, $field_name, true );