Yoast\WP\Lib
Model::delete()
Delete the database row associated with this model instance.
Метод класса: Model{}
Хуков нет.
Возвращает
true|false|int
. Response of wpdb::query.
Использование
$Model = new Model(); $Model->delete();
Код Model::delete() Model::delete Yoast 24.0
public function delete() { return $this->orm->delete(); }