| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Actions\Indexing; |
| 4 |
|
| 5 |
/** |
| 6 |
* Interface definition of a reindexing action for indexables that have a limited unindexed count. |
| 7 |
*/ |
| 8 |
interface Limited_Indexing_Action_Interface { |
| 9 |
|
| 10 |
/** |
| 11 |
* Returns a limited number of unindexed posts. |
| 12 |
* |
| 13 |
* @param int $limit Limit the maximum number of unindexed posts that are counted. |
| 14 |
* |
| 15 |
* @return int|false The limited number of unindexed posts. False if the query fails. |
| 16 |
*/ |
| 17 |
public function get_limited_unindexed_count( $limit ); |
| 18 |
} |
| 19 |
|