'yandexaddurl', 'title' => __('ADDURILKA', 'wp-ya-addurl'), 'href' => 'http://webmaster.yandex.ru/addurl.xml', 'meta' => array( 'class' => 'yandexaddurl', 'target' => '_blank', 'title' => __('Go to Yandex.AddUrl', 'wp-ya-addurl') ) ); $wp_ya_addurl_admin_bar->add_node($args); $args = array( 'id' => 'yandexurlcheck', 'title' => __('Check Links', 'wp-ya-addurl'), 'href' => $linkforcheck, 'parent' => 'yandexaddurl', 'meta' => array( 'class' => 'yandexurlcheck', 'target' => '_blank', 'title' => __('Checking the links to indexing in Yandex', 'wp-ya-addurl') ) ); $wp_ya_addurl_admin_bar->add_node($args); $args = array( 'id' => 'yandexaddurlsent', 'title' => __('Sending links', 'wp-ya-addurl'), 'href' => $linkforsent, 'parent' => 'yandexaddurl', 'meta' => array( 'class' => 'yandexaddurlsent', 'target' => '_blank', 'title' => __('Send this page to Yandex.Webmaster', 'wp-ya-addurl') ) ); $wp_ya_addurl_admin_bar->add_node($args); } add_action('admin_bar_menu', 'wp_ya_addurl', 999);