File Editor
Directories:
.. (Back)
Files:
abstract-indexing-action.php
abstract-link-indexing-action.php
indexable-general-indexation-action.php
indexable-indexing-complete-action.php
indexable-post-indexation-action.php
indexable-post-type-archive-indexation-action.php
indexable-term-indexation-action.php
indexation-action-interface.php
indexing-complete-action.php
indexing-prepare-action.php
limited-indexing-action-interface.php
post-link-indexing-action.php
term-link-indexing-action.php
Create New File
Create
Edit File: indexation-action-interface.php
<?php namespace Yoast\WP\SEO\Actions\Indexing; /** * Interface definition of reindexing action for indexables. */ interface Indexation_Action_Interface { /** * Returns the total number of unindexed objects. * * @return int The total number of unindexed objects. */ public function get_total_unindexed(); /** * Indexes a number of objects. * * NOTE: ALWAYS use limits, this method is intended to be called multiple times over several requests. * * For indexing that requires JavaScript simply return the objects that should be indexed. * * @return array The reindexed objects. */ public function index(); /** * Returns the number of objects that will be indexed in a single indexing pass. * * @return int The limit. */ public function get_limit(); }
Save Changes
Rename File
Rename