Automattic\WooCommerce\Admin\Features\MarketingRecommendations
Init::get_recommended_marketing_channels()
Return only the recommended marketing channels from WooCommerce.com.
Метод класса: Init{}
Хуков нет.
Возвращает
Массив
.
Использование
$result = Init::get_recommended_marketing_channels(): array;
Код Init::get_recommended_marketing_channels() Init::get recommended marketing channels WC 9.4.2
public static function get_recommended_marketing_channels(): array { return array_filter( self::get_recommended_plugins(), function ( array $plugin_data ) { return self::is_marketing_channel_plugin( $plugin_data ); } ); }