WordPress.org

Ready to get started?Download WordPress

Forums

Disabling The Top level Admin Menu (add_menu_page) (1 post)

  1. jplus2
    Member
    Posted 1 year ago #

    I am creating a custom plug in, I noticed that If I add a custom menu for my plugin using add_menu_page, is it will also create a sub menu with the same name. How will I disable it?

    ex.
    main menu
    main menu
    sub menu 1
    sub menu 2

    to

    main menu
    sub menu 1
    sub menu 2

    please help

    tnx

Topic Closed

This topic has been closed to new replies.

About this Topic