Yoast\WP\Lib\Migrations
Migration::remove_timestamps() public Yoast 1.0
Removes timestamps.
{} Это метод класса: Migration{}
Хуков нет.
Возвращает
true/false.
Использование
$Migration = new Migration(); $Migration->remove_timestamps( $table_name, $created_column_name, $updated_column_name );
- $table_name(строка) (обязательный)
- The name of the table.
- $created_column_name(строка)
- Created at column name.
- $updated_column_name(строка)
- Updated at column name.
Код Migration::remove_timestamps() Migration::remove timestamps Yoast 15.9
public function remove_timestamps( $table_name, $created_column_name = 'created_at', $updated_column_name = 'updated_at' ) {
return $this->adapter->remove_timestamps( $table_name, $created_column_name, $updated_column_name );
}