You appear to be a bot. Output may be restricted
Description
Deletes a term from the index.
Usage
$void = Indexable_Term_Watcher::delete_indexable( $term_id );
Parameters
- $term_id
- ( int ) required – The Term ID to delete.
Returns
void
Source
File name: wordpress-seo/src/watchers/indexable-term-watcher.php
Lines:
1 to 10 of 10
public function delete_indexable( $term_id ) { $indexable = $this->repository->find_by_id_and_type( $term_id, 'term', false ); if ( ! $indexable ) { return; } $indexable->delete(); }