WP_Admin_Bar::remove_node
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 Admin Bar::remove node WP 7.0
public function remove_node( $id ) {
$this->_unset_node( $id );
}