WP_Admin_Bar::remove_node()publicWP 3.1.0

Remove a node.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WP_Admin_Bar = new WP_Admin_Bar();
$WP_Admin_Bar->remove_node( $id );
$id(строка) (обязательный)
The ID of the item.

Список изменений

С версии 3.1.0 Введена.

Код WP_Admin_Bar::remove_node() WP 6.5.2

public function remove_node( $id ) {
	$this->_unset_node( $id );
}