acf/pre_load_value

acf/pre_load_value

Hook Type: filter

See hook in core

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

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

  • /includes/acf-value-functions.php line 55
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    */
    function acf_get_value( $post_id, $field ) {
     
        // Allow filter to short-circuit load_value logic.
        $value = apply_filters( 'acf/pre_load_value', null, $post_id, $field );
        if ( $value !== null ) {
            return $value;
        }
     
        // Get field name.
        $field_name = $field['name'];