芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/envato-elements/inc/backend/class-welcome.php
'; $page = add_menu_page( __( 'Envato Elements', 'envato-elements' ), __( 'Elements', 'envato-elements' ), 'edit_posts', ENVATO_ELEMENTS_SLUG, [ $this, 'admin_page_open' ], 'data:image/svg+xml;base64,' . base64_encode($svg_icon), '58.6' ); add_action( 'admin_print_scripts-' . $page, [ $this, 'admin_page_assets' ] ); $submenu = add_submenu_page( ENVATO_ELEMENTS_SLUG, __( 'Envato Elements', 'envato-elements' ), __( 'Welcome', 'envato-elements' ), 'edit_posts', ENVATO_ELEMENTS_SLUG, [ $this, 'admin_page_open' ] ); $submenu = add_submenu_page( ENVATO_ELEMENTS_SLUG, __( 'Template Kits', 'envato-elements' ), __( 'Template Kits', 'envato-elements' ), 'edit_posts', ENVATO_ELEMENTS_SLUG . '#/template-kits/premium-kits', [ $this, 'admin_page_open' ] ); $submenu = add_submenu_page( ENVATO_ELEMENTS_SLUG, __( 'Free Kits', 'envato-elements' ), __( 'Free Kits', 'envato-elements' ), 'edit_posts', ENVATO_ELEMENTS_SLUG . '#/template-kits/free-kits', [ $this, 'admin_page_open' ] ); $submenu = add_submenu_page( ENVATO_ELEMENTS_SLUG, __( 'Free Blocks', 'envato-elements' ), __( 'Free Blocks', 'envato-elements' ), 'edit_posts', ENVATO_ELEMENTS_SLUG . '#/template-kits/free-blocks', [ $this, 'admin_page_open' ] ); $submenu = add_submenu_page( ENVATO_ELEMENTS_SLUG, __( 'Installed Kits', 'envato-elements' ), __( 'Installed Kits', 'envato-elements' ), 'edit_posts', ENVATO_ELEMENTS_SLUG . '#/template-kits/installed-kits', [ $this, 'admin_page_open' ] ); $submenu = add_submenu_page( ENVATO_ELEMENTS_SLUG, __( 'Photos', 'envato-elements' ), __( 'Photos', 'envato-elements' ), 'edit_posts', ENVATO_ELEMENTS_SLUG . '#/photos', [ $this, 'admin_page_open' ] ); $submenu = add_submenu_page( ENVATO_ELEMENTS_SLUG, __( 'Settings', 'envato-elements' ), __( 'Settings', 'envato-elements' ), 'edit_posts', ENVATO_ELEMENTS_SLUG . '#/settings', [ $this, 'admin_page_open' ] ); } /** * Called when the plugin page is opened. */ public function admin_page_open(){ ?>