Yoast\WP\Lib

Model::delete()publicYoast 1.0

Delete the database row associated with this model instance.

Метод класса: Model{}

Хуков нет.

Возвращает

true|false|int. Response of wpdb::query.

Использование

$Model = new Model();
$Model->delete();

Код Model::delete() Yoast 20.0

public function delete() {
	return $this->orm->delete();
}