Skip to content

Instantly share code, notes, and snippets.

Abdessamad Idrissi numediaweb

Block or report user

Report or block numediaweb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View trassig video
<div class="row mb-5">
<div class="col-sm-12 col-lg-6 offset-lg-3">
<div class="video-responsive">
<iframe width="853" height="480" src="" frameborder="0"
numediaweb / functions.php
Last active Nov 5, 2019
Filter WordPress admin side navigation menues
View functions.php
function filter_admin_menues() {
// If administrator then do nothing
if (current_user_can('activate_plugins')) return;
// Remove main menus
$main_menus_to_stay = array(
// Dashboard
You can’t perform that action at this time.