Yoast\WP\Lib
ORM::delete_many() public Yoast 1.0
Deletes many records from the database.
{} Это метод класса: ORM{}
Хуков нет.
Возвращает
true/false/Число. Response of wpdb::query.
Использование
$ORM = new ORM(); $ORM->delete_many();
Код ORM::delete_many() ORM::delete many Yoast 15.9
public function delete_many() {
// Build and return the full DELETE statement by concatenating
// the results of calling each separate builder method.
$query = $this->join_if_not_empty(
' ',
[
'DELETE FROM',
$this->quote_identifier( $this->table_name ),
$this->build_where(),
]
);
return self::execute( $query, $this->values );
}