settings->get_option( 'headers_footers_mode' ) ) { return; } wpcode_admin_scripts_global(); } /** * This is loaded after the plugin is activated and if the installation process was initiated * from the WPCode Library site it will redirect the user to the appropriate page to continue * that process. * * @return void */ function wpcode_listen_for_deploy_message() { // Load this only in the plugins list. $screen = get_current_screen(); $screens = array( 'plugins', 'plugin-install', ); if ( ! isset( $screen->id ) || ! in_array( $screen->id, $screens, true ) ) { return; } $click_page = add_query_arg( array( 'page' => 'wpcode-click', ), admin_url( 'admin.php' ) ) ?>