Follow us on
  1. Hey mate... wondering if this is possible... I have an item I only want to show up in the menu bar, but not in the side menu.

    I though this would do the trick, but nah, it hides it...

    'show_bar_menu' => true,
    'menu_hidden' => false,CopyCopied!
    Posted 1 year ago #

  2. Codestar


    This condition affect the line 193 of /codestar-framework/classes/admin-options.class.php

    if ( ! empty( $this->args['show_bar_menu'] ) && empty( $this->args['menu_hidden'] ) ) {CopyCopied!

    Should I change like this ?

    if ( ! empty( $this->args['show_bar_menu'] ) ) {CopyCopied!

    or you should remove it like this:

    function kpirnie_hide_framework_page() {
      remove_menu_page( 'put_menu_slug' );
    add_action( 'admin_init', 'kpirnie_hide_framework_page' );CopyCopied!

    Which one makes more sense? I am in 50/50

    Regards, Codestar

    Posted 1 year ago #
  3. Lordy, I forgot all about



    I actually ended up going a different route anyways... I only needed it for 1 link
    used the built-in

    Posted 1 year ago #

  4. Codestar


    Oh nice, simply use "remove_menu_page" for now

    Regards, Codestar

    Posted 1 year ago #