sanitize_text_field, $filtered, $value

sanitize_text_field, $filtered, $value

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('sanitize_text_field, $filtered, $value') is found 1 times:

  • /inc/class-wpseo-utils.php line 170
    		 *
    		 * @param string $filtered The sanitized string.
    		 * @param string $str      The string prior to being sanitized.
    		 */
    		return apply_filters( 'sanitize_text_field', $filtered, $value ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals -- Using WP native filter.
    	}
    
    	/**
    	 * Sanitize a url for saving to the database.
    	 * Not to be confused with the old native WP function.
    	 *