Yoast\WP\SEO\Actions\Importing\Aioseo
Aioseo_Cleanup_Action::get_limited_unindexed_count()
Just checks if the cleanup has been completed in the past.
Метод класса: Aioseo_Cleanup_Action{}
Хуков нет.
Возвращает
int|false
. The limited number of unindexed posts. False if the query fails.
Использование
$Aioseo_Cleanup_Action = new Aioseo_Cleanup_Action(); $Aioseo_Cleanup_Action->get_limited_unindexed_count( $limit );
- $limit(int) (обязательный)
- The maximum number of unimported objects to be returned.
Код Aioseo_Cleanup_Action::get_limited_unindexed_count() Aioseo Cleanup Action::get limited unindexed count Yoast 19.14
public function get_limited_unindexed_count( $limit ) { if ( ! $this->aioseo_helper->aioseo_exists() ) { return 0; } return ( ! $this->get_completed() ) ? 1 : 0; }