acf/admin/prevent_escaped_html_notice

acf/admin/prevent_escaped_html_notice

Hook Type: filter

See hook in core

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

apply_filters('acf/admin/prevent_escaped_html_notice') is found 2 times:

  • /includes/admin/admin.php line 154
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
        return;
    }
     
    // Allow opting-out of the notice.
    if ( apply_filters( 'acf/admin/prevent_escaped_html_notice', false ) ) {
        return;
    }
     
    if ( get_option( 'acf_escaped_html_notice_dismissed' ) ) {
        return;
    }
  • /includes/api/api-template.php line 145
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    * @return void
     */
    function _acf_log_escaped_html( $function, $selector, $field, $post_id ) {
        // If the notice isn't shown, no use in logging the errors.
        if ( apply_filters( 'acf/admin/prevent_escaped_html_notice', false ) ) {
            return;
        }
     
        // If the notice has been dismissed, don't log further errors.
        if ( get_option( 'acf_escaped_html_notice_dismissed' ) ) {
            return;