acf/shortcode/prevent_access

acf/shortcode/prevent_access

Hook Type: filter

See hook in core

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

apply_filters('acf/shortcode/prevent_access') is found 1 times:

  • /includes/api/api-template.php line 1091
    1087
    1088
    1089
    1090
    1091
    1092
    1093
    1094
    1095
    1096
    1097
            return;
        }
    }
     
    if ( apply_filters( 'acf/shortcode/prevent_access', false, $atts, $decoded_post_id['id'], $decoded_post_id['type'], $field_type, $field ) ) {
        return;
    }
     
    if ( is_array( $value ) ) {
        $value = implode( ', ', $value );
    }