1. Inicio
  2. WEB, RRSS y TRELLO
  3. WordPress
  4. CÓDIGO

CÓDIGO

Remove “Events” From the WordPress Admin Bar

But sometimes less is more, so if you prefer to keep Events out of the admin bar, add the following snippet to your theme’s wp-config.php file, which is typically located in the root of your WordPress installation. It will remove that dropdown like a boss.

/** Removes Events from WP Admin Bar */
define(‘TRIBE_DISABLE_TOOLBAR_ITEMS’, true);


 

¿Te ha resultado útil este artículo? No

¿Cómo podemos ayudarte?