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.2.6.1

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

  • /includes/admin/admin.php line 225
    				return;
    			}
    
    			// Allow opting-out of the notice.
    			if ( apply_filters( 'acf/admin/prevent_escaped_html_notice', false ) ) {
    				return;
    			}
    
    			$escaped = _acf_get_escaped_html_log();
    
    			// Notice for when HTML has already been escaped.
    
  • /includes/api/api-template.php line 148
     * @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 field isn't set, we've output a non-ACF field, so don't log anything.
    	if ( ! is_array( $field ) ) {
    		return;
    
  • /includes/api/api-template.php line 193
     * @return void
     */
    function _acf_log_will_escape_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 field isn't set, we've output a non-ACF field, so don't log anything.
    	if ( ! is_array( $field ) ) {
    		return;