Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!function_exists('wp_get_current_user')) {
- include_once( ABSPATH . 'wp-admin/includes/pluggable.php' );
- }
- if ( is_super_admin() ) {
- add_action( 'admin_init', 'myplugin_register');
- add_action( 'admin_menu', 'myplugin_menu' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement