aioseo_llms_post_title

aioseo_llms_post_title

Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.9.3

apply_filters('aioseo_llms_post_title') is found 1 times:

  • /app/Common/Llms/Llms.php line 376
    	 * @param  bool     $llmsFull Whether to include the llms-full.txt file.
    	 * @return string             The content of the llms.txt file.
    	 */
    	protected function getPostContent( $post, $llmsFull = false ) { // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
    		$title   = apply_filters( 'aioseo_llms_post_title', $post->post_title, $post );
    		$content = '- [' . aioseo()->helpers->decodeHtmlEntities( $title ) . '](' . aioseo()->helpers->decodeUrl( get_permalink( $post ) ) . ')';
    
    		$description = aioseo()->meta->description->getPostDescription( $post );
    		$description = apply_filters( 'aioseo_llms_post_description', $description, $post );
    		if ( ! empty( $description ) ) {
    			$content .= ' - ' . aioseo()->helpers->decodeHtmlEntities( $description );