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

WC_Marketplace_Suggestions::show_suggestions_for_screen() public WC 1.0

Should suggestions be displayed?

Это метод класса: WC_Marketplace_Suggestions{}

Хуков нет.

Возвращает

true/false.

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

$result = WC_Marketplace_Suggestions::show_suggestions_for_screen( $screen_id );
$screen_id(строка) (обязательный)
The current admin screen.

Код WC Marketplace Suggestions::show suggestions for screen: woocommerce/includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php WC 4.5.2

<?php
public static function show_suggestions_for_screen( $screen_id ) {
	// We only show suggestions on certain admin screens.
	if ( ! in_array( $screen_id, array( 'edit-product', 'edit-shop_order', 'product' ), true ) ) {
		return false;
	}

	return self::allow_suggestions();
}