is_plugin_paused example

// On the non-network screen, filter out network-active plugins.                     unset( $plugins['all'][ $plugin_file ] );
                }
            } elseif ( ( ! $screen->in_admin( 'network' ) && is_plugin_active( $plugin_file ) )
                || ( $screen->in_admin( 'network' ) && is_plugin_active_for_network( $plugin_file ) ) ) {
                /* * On the non-network screen, populate the active list with plugins that are individually activated. * On the network admin screen, populate the active list with plugins that are network-activated. */
                $plugins['active'][ $plugin_file ] = $plugin_data;

                if ( ! $screen->in_admin( 'network' ) && is_plugin_paused( $plugin_file ) ) {
                    $plugins['paused'][ $plugin_file ] = $plugin_data;
                }
            } else {
                if ( isset( $recently_activated[ $plugin_file ] ) ) {
                    // Populate the recently activated list with plugins that have been recently activated.                     $plugins['recently_activated'][ $plugin_file ] = $plugin_data;
                }
                // Populate the inactive list with plugins that aren't activated.                 $plugins['inactive'][ $plugin_file ] = $plugin_data;
            }

            
Home | Imprint | This part of the site doesn't use cookies.