aioseo_description_include_custom_fields

aioseo_description_include_custom_fields

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

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

apply_filters('aioseo_description_include_custom_fields') is found 2 times:

  • /app/Common/Traits/Helpers/Vue.php line 287
    			'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 ),
    			'loading'                        => [
    				'focus'      => false,
    				'additional' => [],
    
  • /app/Common/Traits/Helpers/WpContext.php line 269
    		$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 ];
    	}