Yoast\WP\SEO\Actions\Importing\Aioseo
Aioseo_Cleanup_Action::get_limit()
Used nowhere. Exists to comply with the interface.
Метод класса: Aioseo_Cleanup_Action{}
Хуки из метода
Возвращает
int
. The limit.
Использование
$Aioseo_Cleanup_Action = new Aioseo_Cleanup_Action(); $Aioseo_Cleanup_Action->get_limit();
Код Aioseo_Cleanup_Action::get_limit() Aioseo Cleanup Action::get limit Yoast 24.4
public function get_limit() { /** * Filter 'wpseo_aioseo_cleanup_limit' - Allow filtering the number of posts indexed during each indexing pass. * * @param int $max_posts The maximum number of posts cleaned up. */ $limit = \apply_filters( 'wpseo_aioseo_cleanup_limit', 25 ); if ( ! \is_int( $limit ) || $limit < 1 ) { $limit = 25; } return $limit; }