Skip to content

add_submenu_page position / order not working #1380

Description

@coolsatinder

There is no option to set position or order a submenu item inside an already exist main menu item.

Currently It is possible via small adjustments:-

  1. Add $this->cmb->prop( 'position' ) inside add_submenu_page() inside CMB2\includes\CMB2_Options_Hookup.php
  2. Also add an extra property - priority that we can use inside menu add_action hook. add_action( $hook, array( $this, 'options_page_menu_hooks' ), $this->cmb->prop( 'priority' ) );

Hope next version will add some adjustments to order a submenu.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo