Yoast\WP\Lib\Migrations
Migration::remove_index() public Yoast 1.0
Removes an index.
{} Это метод класса: Migration{}
Хуков нет.
Возвращает
true/false.
Использование
$Migration = new Migration(); $Migration->remove_index( $table_name, $column_name, $options );
- $table_name(строка) (обязательный)
- The name of the table.
- $column_name(строка) (обязательный)
- The column name.
- $options(массив/строка)
- The options.
Код Migration::remove_index() Migration::remove index Yoast 15.9
public function remove_index( $table_name, $column_name, $options = [] ) {
return $this->adapter->remove_index( $table_name, $column_name, $options );
}