Yoast\WP\SEO\Actions\Importing
Deactivate_Conflicting_Plugins_Action::get_limited_unindexed_count()
Returns the total number of unindexed objects up to a limit.
Метод класса: Deactivate_Conflicting_Plugins_Action{}
Хуков нет.
Возвращает
int
. The total number of unindexed objects.
Использование
$Deactivate_Conflicting_Plugins_Action = new Deactivate_Conflicting_Plugins_Action(); $Deactivate_Conflicting_Plugins_Action->get_limited_unindexed_count( $limit );
- $limit(int) (обязательный)
- The maximum.
Код Deactivate_Conflicting_Plugins_Action::get_limited_unindexed_count() Deactivate Conflicting Plugins Action::get limited unindexed count Yoast 22.4
public function get_limited_unindexed_count( $limit ) { $count = \count( $this->get_detected_plugins() ); return ( $count <= $limit ) ? $count : $limit; }