Make lbrypress top level menu #21

Merged
prkirby merged 1 commit from top-level-menu into master 2020-02-17 23:10:20 +01:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit fee1beb221 - Show all commits

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 301.875 301.875"><path fill="#fff" d="M147.012 175.942l-104.6-51.3.2-7.9 104 51.2 132.2-81.2v-5.8l-124.8-60.2-139.2 86.1v38.5l131.8 65.2 137.6-84.4 3.9 6-141.1 86.4-139.2-68.8v-46.8l145.8-90.2 132.2 63.8v14.1z"/><path fill="#fff" d="M274.913 121.642l17.1 2.9-2.8 17.5-4.9-.8 2-12.6-12.2-2.1z"/></svg>

After

Width:  |  Height:  |  Size: 377 B

View file

@ -25,12 +25,13 @@ class LBRY_Admin
*/
public function create_options_page()
{
add_options_page(
add_menu_page(
__('LBRYPress Settings', 'lbrypress'),
__('LBRYPress', 'lbrypress'),
'manage_options',
LBRY_ADMIN_PAGE,
array($this, 'options_page_html')
array($this, 'options_page_html'),
plugin_dir_url(LBRY_PLUGIN_FILE) . '/admin/images/lbry-logo.svg'
);
}