Plugin Directory

Changeset 2825711


Ignore:
Timestamp:
11/29/2022 08:47:00 AM (3 years ago)
Author:
gb-plugins
Message:

fix for admin menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gb-forms-db/trunk/core/class/GBFLeads.php

    r2774759 r2825711  
    194194                'publicly_queryable' => false,
    195195                'menu_icon'          => 'dashicons-admin-site',
    196                 'show_ui'            => true, //show in admin as CPT
    197                 'show_in_menu'       => true,
     196                'show_ui'            => false, //show in admin as CPT
     197                'show_in_menu'       => false,
    198198                'query_var'          => true,
    199199                'rewrite'            => array( 'slug' => __($this->settings['slug'],'gb-forms-db') ),
Note: See TracChangeset for help on using the changeset viewer.