Support » Plugin: MailPoet 2 » Adding link to ' New' drop down

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Add this code to your theme functions.php file:

    function wysija_add_admin_bar_link(){
    	global $wp_admin_bar;
    			'parent' => 'new-content',
    			'id' => 'new_newsletter',
    			'title' => __('Newsletter'),
    			'href' => admin_url( 'admin.php?page=wysija_campaigns&action=add')
    add_action('wp_before_admin_bar_render', 'wysija_add_admin_bar_link');

    Or you can even create plugin from it if you want to have option to enable/disable it.

    Thanks for that, is some one able to provide this as a plugin, my coding skills are minimal and I hate to go into places where I can screw thing up!
    Seems like this should be built in for the next upgrade?

    Hello Don46,

    Here you go:

    Check the code, and compare it to this one above. Now you see how simple is to create a plugin? 🙂

    If you want this as a Wysija default feature, add this as idea here:

    And wait until enough users will vote on it.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding link to ' New' drop down’ is closed to new replies.