Skip to content

Commit

Permalink
Merge branch 'develop' into fix/345
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy authored Feb 7, 2024
2 parents 4ed9f2d + 1d8f12a commit 62c3df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/admin/class-bc-admin-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public function register_admin_menu() {
add_submenu_page( 'brightcove', esc_html__( 'Brightcove Labels', 'brightcove' ), esc_html__( 'Labels', 'brightcove' ), 'manage_options', 'brightcove-labels', array( $this, 'render_labels_page' ) );

// These have no parent menu slug so they don't appear in the menu
add_submenu_page( null, esc_html__( 'Add Source', 'brightcove' ), esc_html__( 'Add Source', 'brightcove' ), 'manage_options', 'page-brightcove-edit-source', array( $this, 'render_edit_source_page' ) );
add_submenu_page( null, esc_html__( 'Edit Label', 'brightcove' ), esc_html__( 'Edit Label', 'brightcove' ), 'manage_options', 'page-brightcove-edit-label', array( $this, 'render_edit_label_page' ) );
add_submenu_page( '', esc_html__( 'Add Source', 'brightcove' ), esc_html__( 'Add Source', 'brightcove' ), 'manage_options', 'page-brightcove-edit-source', array( $this, 'render_edit_source_page' ) );
add_submenu_page( '', esc_html__( 'Edit Label', 'brightcove' ), esc_html__( 'Edit Label', 'brightcove' ), 'manage_options', 'page-brightcove-edit-label', array( $this, 'render_edit_label_page' ) );

remove_submenu_page( 'brightcove', 'brightcove' );
}
Expand Down

0 comments on commit 62c3df2

Please sign in to comment.