Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_action( 'admin_print_styles', 'theme_does_not_support_plugin_hide_notice', 9 );
- function theme_does_not_support_plugin_hide_notice(){
- if( isset( $_GET['hide_theme_support_notice'] ) && $_GET['hide_theme_support_notice'] == 1 )
- update_option( 'plugin_theme_support', 1 );
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement