WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Получай пассивный доход от сайта
класс не описан


Exclude_Oembed_Cache_Post_Type{} Yoast 1.0

Excludes certain oEmbed Cache-specific post types from the indexable table.

Posts with these post types will not be saved to the indexable table.

Хуков нет.


null. Ничего.


$Exclude_Oembed_Cache_Post_Type = new Exclude_Oembed_Cache_Post_Type();
// use class methods


  1. get_conditionals()
  2. get_post_type()

Код Exclude_Oembed_Cache_Post_Type{} Yoast 16.8

class Exclude_Oembed_Cache_Post_Type extends Abstract_Exclude_Post_Type {

	 * This integration is only active when the database migrations have been run.
	 * @return array|string[] The conditionals.
	public static function get_conditionals() {
		return [ Migrations_Conditional::class ];

	 * Returns the names of the post types to be excluded.
	 * To be used in the wpseo_indexable_excluded_post_types filter.
	 * @return array The names of the post types.
	public function get_post_type() {
		return [ 'oembed_cache' ];