GC_Admin_Bar::remove_menu()

最后更新于:2021-11-26 09:09:07

GC_Admin_Bar::remove_menu( string$id)

Remove a node from the admin bar.

参数

$id

(string) (Required) The menu slug to remove.

源文件

文件: gc-includes/class-gc-admin-bar.php

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