Skip to content

Instantly share code, notes, and snippets.

@contempoinc
Created November 27, 2016 17:09
Show Gist options
  • Save contempoinc/95fe71a99c4ff17b9042c9c072136d4a to your computer and use it in GitHub Desktop.
Save contempoinc/95fe71a99c4ff17b9042c9c072136d4a to your computer and use it in GitHub Desktop.
Admin CSS to remove Slider Revolution & Visual Composer Notices
<?php
/*-----------------------------------------------------------------------------------*/
/* Admin CSS */
/*-----------------------------------------------------------------------------------*/
if(!function_exists('ct_admin_css')) {
function ct_admin_css() {
echo '<style>';
echo 'tr[data-slug="slider-revolution"] + .plugin-update-tr, .vc_license-activation-notice, .rs-update-notice-wrap, tr.plugin-update-tr.active#js_composer-update { display: none !important;}';
echo '</style>';
}
}
add_action('admin_head', 'ct_admin_css');
?>
@akash0ahammed
Copy link

Awesome, the code worked smoothly in November 2020.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment