aioseo_description_include_custom_fields

aioseo_description_include_custom_fields

Hook Type: filter

See hook in core

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

apply_filters('aioseo_description_include_custom_fields') is found 2 times:

  • /app/Common/Traits/Helpers/Vue.php line 191
    				'frequency'                      => ! empty( $post->frequency ) ? $post->frequency : 'default',
    				'permalink'                      => get_permalink( $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 206
    		}
    
    		$content[ $post->ID ] = $this->theContent( $post->post_content );
    
    		if ( apply_filters( 'aioseo_description_include_custom_fields', true, $post ) ) {
    			$content[ $post->ID ] .= $this->theContent( $this->getPostCustomFieldsContent( $post ) );
    		}
    
    		return $content[ $post->ID ];
    	}