WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
фильтр не описан

woocommerce_admin_onboarding_plugins_whitelist хук-фильтр . WC 1.0

Gets an array of plugins that can be installed & activated via the onboarding wizard.

Использование

add_filter( 'woocommerce_admin_onboarding_plugins_whitelist', 'filter_function_name_4409' );
function filter_function_name_4409( $plugins ){
	// filter...

	return $plugins;
}
$plugins(массив)
Array of plugin slugs to be allowed.

Где вызывается хук

Onboarding::get_onboarding_allowed_plugins()
woocommerce_admin_onboarding_plugins_whitelist
woocommerce/packages/woocommerce-admin/src/Features/Onboarding.php 741-759
$onboarding_plugins = apply_filters(
	'woocommerce_admin_onboarding_plugins_whitelist',
	array(
		'facebook-for-woocommerce'            => 'facebook-for-woocommerce/facebook-for-woocommerce.php',
		'mailchimp-for-woocommerce'           => 'mailchimp-for-woocommerce/mailchimp-woocommerce.php',
		'kliken-marketing-for-google'         => 'kliken-marketing-for-google/kliken-marketing-for-google.php',
		'jetpack'                             => 'jetpack/jetpack.php',
		'woocommerce-services'                => 'woocommerce-services/woocommerce-services.php',
		'woocommerce-gateway-stripe'          => 'woocommerce-gateway-stripe/woocommerce-gateway-stripe.php',
		'woocommerce-gateway-paypal-express-checkout' => 'woocommerce-gateway-paypal-express-checkout/woocommerce-gateway-paypal-express-checkout.php',
		'klarna-checkout-for-woocommerce'     => 'klarna-checkout-for-woocommerce/klarna-checkout-for-woocommerce.php',
		'klarna-payments-for-woocommerce'     => 'klarna-payments-for-woocommerce/klarna-payments-for-woocommerce.php',
		'woocommerce-square'                  => 'woocommerce-square/woocommerce-square.php',
		'woocommerce-shipstation-integration' => 'woocommerce-shipstation-integration/woocommerce-shipstation.php',
		'woocommerce-payfast-gateway'         => 'woocommerce-payfast-gateway/gateway-payfast.php',
		'woocommerce-payments'                => 'woocommerce-payments/woocommerce-payments.php',
		'woocommerce-gateway-eway'            => 'woocommerce-gateway-eway/woocommerce-gateway-eway.php',
	)
);

Где используется хук в ядре WooCommerce

Использование не найдено.