function action_AdminPrintStyles() { if (strstr(am4_get_current_screen()->id, 'am4-settings') !== false) { wp_enqueue_style('jquery-style'); } wp_enqueue_style('amember-style'); }
function action_AdminFooter() { $screen = am4_get_current_screen(); $post_types = get_post_types(array('public' => true)); array_walk($post_types, create_function('&$a', '$a = "edit-".$a;')); if (in_array($screen->id, $post_types) && !$screen->action) { am4PluginsManager::runController('am4Protection_bulk'); } }