Automattic\WooCommerce\Admin\Features
CustomerEffortScoreTracks::run_on_transition_post_status() public WC 1.0
{} Это метод класса: CustomerEffortScoreTracks{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$CustomerEffortScoreTracks = new CustomerEffortScoreTracks(); $CustomerEffortScoreTracks->;
Код CustomerEffortScoreTracks::run_on_transition_post_status() CustomerEffortScoreTracks::run on transition post status WC 5.2.2
/**
* Return whether the action has already been shown.
*
* @param string $action The action to check.
*
* @return bool Whether the action has already been shown.
*/
private function has_been_shown( $action ) {
$shown_for_features = get_option( self::SHOWN_FOR_ACTIONS_OPTION_NAME, array() );
$has_been_shown = in_array( $action, $shown_for_features, true );