WordPress at a glance
function is not described


Homescreen::get_homescreen_allowed_plugins() public WC 1.0

Gets an array of plugins that can be installed & activated via the home screen.

{} It's a method of the class: Homescreen{}

No Hooks.


Array. Nothing.


$result = Homescreen::get_homescreen_allowed_plugins( $plugins );
$plugins(array) (required)
Array of plugin slugs to be allowed.

Code of Homescreen::get_homescreen_allowed_plugins() WC 5.2.2

public static function get_homescreen_allowed_plugins( $plugins ) {
	$homescreen_plugins = array(
		'jetpack' => 'jetpack/jetpack.php',

	return array_merge( $plugins, $homescreen_plugins );