Tag Info

New answers tagged


Use the remove_submenu_page function to remove the shortcode menu. Pass the parent menu's slug and the submenu's slug as arguments to this function. Paste the following in your theme's functions.php file. add_action( 'admin_menu', 'remove_short_code_menu' ); function remove_short_code_menu() { remove_submenu_page( 'CF7DBPluginSubmissions', ...


Could somebody explain why it's advised never to load wp-admin/admin.php in your plugin and how it could cause issues? Because it is loading WordPress out of context-- well, parts of WordPress. And that can cause unexpected effects such as functions not being loaded or functions being loaded twice (which will cause fatal errors). You will have trouble ...

Top 50 recent answers are included