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.5.9.2

apply_filters('aioseo_description_include_custom_fields') is found 2 times:

  • /app/Common/Traits/Helpers/Vue.php line 278
    			'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 : wp_json_encode( [] ),
    			'keyphrases'                     => Models\Post::getKeyphrasesDefaults( $post->keyphrases ),
    			'page_analysis'                  => ! empty( $post->page_analysis )
    				? json_decode( $post->page_analysis )
    				: Models\Post::getPageAnalysisDefaults(),
    			'loading'                        => [
    
  • /app/Common/Traits/Helpers/WpContext.php line 267
    		}
    
    		$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 ];
    	}