public function getPluginsWithHeader( $header ) {
		$plugins = get_plugins();
		$matches = [];
		foreach ( $plugins as $file => $plugin ) {
			if ( $plugin['Name'] === 'Pressbooks' ) {
				continue; // Fix Pluginception...
			}
			if ( ! empty( $plugin[ $header ] ) ) {
				$matches[ $file ] = $plugin;
			}
		}
		return $matches;
	}
public function getPluginsWithHeader( $header ) {
		$plugins = get_plugins();
		$matches = [];
		foreach ( $plugins as $file => $plugin ) {
			if ( $plugin['Name'] === 'Pressbooks' ) {
				continue; // Fix Pluginception...
			}
			if ( ! empty( $plugin[ $header ] ) ) {
				$matches[ $file ] = $plugin;
			}
		}
		return $matches;
	}
public function getPluginsWithHeader ( $ header ) { $ plugins = get_plugins ( ) ; $ matches = [ ] ; foreach ( $ plugins as $ file => $ plugin ) { if ( $ plugin [ 'Name' ] === 'Pressbooks' ) { continue ; // Fix Pluginception... } if ( ! empty ( $ plugin [ $ header ] ) ) { $ matches [ $ file ] = $ plugin ; } } return $ matches ; }
Get plugins that have a specific header

@param string $header

@return array of plugin info arrays
Get plugins that have a specific header