Yoast\WP\Lib
ORM::delete()
Deletes this record from the database.
{} Это метод класса: ORM{}
Хуков нет.
Возвращает
Строку
. The delete query.
Использование
$ORM = new ORM(); $ORM->delete();
Код ORM::delete() ORM::delete Yoast 19.2
public function delete() { $query = [ 'DELETE FROM', $this->quote_identifier( $this->table_name ), $this->add_id_column_conditions() ]; return self::execute( \implode( ' ', $query ), \is_array( $this->id( true ) ) ? \array_values( $this->id( true ) ) : [ $this->id( true ) ] ); }