wpseo_llmstxt_encoding_prefix

wpseo_llmstxt_encoding_prefix

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.25.4

apply_filters('wpseo_llmstxt_encoding_prefix') is found 1 times:

  • /src/llms-txt/application/file/commands/populate-file-command-handler.php line 106

    Warning: Undefined array key 110 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 111 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * Filter: 'wpseo_llmstxt_encoding_prefix' - Allows editing the Byte Order Mark (BOM) for UTF-8 we prepend to the llmst.txt file.
    		 *
    		 * @param string $encoding_prefix The Byte Order Mark (BOM) for UTF-8 we prepend to the llmst.txt file.
    		 */
    		$encoding_prefix = \apply_filters( 'wpseo_llmstxt_encoding_prefix', "\xEF\xBB\xBF" );
    
    		return $encoding_prefix . $content;
    	}
    }