aioseo_description_include_custom_fields, true, $post

aioseo_description_include_custom_fields, true, $post

Hook Type: filter

See hook in core

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

apply_filters('aioseo_description_include_custom_fields, true, $post') is found 2 times:

  • /app/Common/Traits/Helpers/Vue.php line 388
    			'permalink'                      => get_permalink( $postId ),
    			'editlink'                       => aioseo()->helpers->getPostEditLink( $postId ),
    			'title'                          => ! empty( $post->title ) ? $post->title : aioseo()->meta->title->getPostTypeTitle( $postTypeObj->name ),
    			'description'                    => ! empty( $post->description ) ? $post->description : aioseo()->meta->description->getPostTypeDescription( $postTypeObj->name ),
    			'descriptionIncludeCustomFields' => apply_filters( 'aioseo_description_include_custom_fields', true, $post ),
    			'keywords'                       => ! empty( $post->keywords ) ? $post->keywords : [],
    			'keyphrases'                     => Models\Post::getKeyphrasesDefaults( $post->keyphrases ),
    			'page_analysis'                  => Models\Post::getPageAnalysisDefaults( $post->page_analysis ),
    			'truseo'                         => Models\Post::getTruseoDefaults( $post->truseo ?? null ),
    			'focus_keyword'                  => $keywordColumns['focus_keyword'],
    			'additional_keywords'            => $keywordColumns['additional_keywords'],
    
  • /app/Common/Traits/Helpers/WpContext.php line 367
    		$postContent = is_string( $postContent ) ? $postContent : '';
    
    		$content[ $post->ID ] = $this->theContent( $postContent );
    
    		if ( apply_filters( 'aioseo_description_include_custom_fields', true, $post ) ) {
    			$content[ $post->ID ] .= $this->theContent( $this->getPostCustomFieldsContent( $post ) );
    		}
    
    		return $content[ $post->ID ];
    	}