public function getPluginsWithPressbooksInDescription() {
		$plugins = get_plugins();
		$matches = [];
		foreach ( $plugins as $file => $plugin ) {
			if ( $plugin['Name'] === 'Pressbooks' ) {
				continue; // Fix Pluginception...
			}
			if ( stristr( $plugin['Name'], 'pressbooks' ) || stristr( $plugin['Description'], 'pressbooks' ) || stristr( $file, 'pressbooks' ) ) {
				$matches[ $file ] = $plugin;
			}
		}
		return $matches;
	}
public function getPluginsWithPressbooksInDescription() {
		$plugins = get_plugins();
		$matches = [];
		foreach ( $plugins as $file => $plugin ) {
			if ( $plugin['Name'] === 'Pressbooks' ) {
				continue; // Fix Pluginception...
			}
			if ( stristr( $plugin['Name'], 'pressbooks' ) || stristr( $plugin['Description'], 'pressbooks' ) || stristr( $file, 'pressbooks' ) ) {
				$matches[ $file ] = $plugin;
			}
		}
		return $matches;
	}
public function getPluginsWithPressbooksInDescription ( ) { $ plugins = get_plugins ( ) ; $ matches = [ ] ; foreach ( $ plugins as $ file => $ plugin ) { if ( $ plugin [ 'Name' ] === 'Pressbooks' ) { continue ; // Fix Pluginception... } if ( stristr ( $ plugin [ 'Name' ] , 'pressbooks' ) || stristr ( $ plugin [ 'Description' ] , 'pressbooks' ) || stristr ( $ file , 'pressbooks' ) ) { $ matches [ $ file ] = $ plugin ; } } return $ matches ; }
Get plugins with "Pressbooks" in the description

@return array of plugin info arrays
Get plugins with Pressbooks in the description