• Resolved mrdexters1

    (@mrdexters1)


    Hello, Thanks for your great plugin! You are doing a great job!

    Could you help me?

    I created a custom Post Types – Plugins Store.

    And, now, I want to add a custom link inside box “Plugins Store” under “Add new” – with my custom code on this page. Is it possible?

    IMAGE – Clickable

    Any help would be greatly appreciated. Please advise.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mrdexters1

    (@mrdexters1)

    I found a solution

    add_action('admin_menu', 'launch_update_page');
    
    function launch_update_page () {
        add_submenu_page(
            'edit.php?post_type=plugins',
            __( 'Launch Update', 'textdomain' ),
            __( 'Launch Update', 'textdomain' ),
            'manage_options',
            'launch-update',
            'get_plugin_from_api_page'
        );
    }
    
    function get_plugin_from_api_page () {
    	echo '<div class="wrap">';
    		echo '<h2>'. get_admin_page_title() .'</h2>';
    	echo '</div>';
    }
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Looks like that should work, now onwards to some awesome content for that page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to create a custom link in the admin panel on the left’ is closed to new replies.