WordPress.org

Ready to get started?Download WordPress

Forums

Adding a link to dashmenu (2 posts)

  1. Charles Frees-Melvin
    Member
    Posted 5 years ago #

    add_menu_page('Productions', 'dashmenu', 'administrator', 'http://productions.cefm.ca/wp-admin/index.php');

    I'm trying via a plugin to add links to my other WordPress/Gallery/bbpress Admins via dashmenu. But it doesnt work. Any ideas?

  2. scottlenger
    Member
    Posted 5 years ago #

    try this:

    function addDashmenuLinks() {
    	echo '<li><a href=""></a></li>';
    }
    
    add_action('dashmenu', 'addDashmenuLinks');

    should work for 2.5+

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.