Yoast\WP\SEO\Config\Migrations
ClearIndexableTables::up() public Yoast 1.0
Migration up.
{} Это метод класса: ClearIndexableTables{}
Хуков нет.
Возвращает
null
. Null. Ничего.
Использование
$ClearIndexableTables = new ClearIndexableTables(); $ClearIndexableTables->up();
Код ClearIndexableTables::up() ClearIndexableTables::up Yoast 16.1.1
public function up() {
$this->query( 'TRUNCATE TABLE ' . $this->get_indexable_table_name() );
$this->query( 'TRUNCATE TABLE ' . $this->get_indexable_hierarchy_table_name() );
}