Automattic\WooCommerce\Internal\Admin\Schedulers
CustomersScheduler::init()
Attach customer lookup update hooks.
Метод класса: CustomersScheduler{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$result = CustomersScheduler::init();
Код CustomersScheduler::init() CustomersScheduler::init WC 7.3.0
public static function init() { add_action( 'woocommerce_new_customer', array( __CLASS__, 'schedule_import' ) ); add_action( 'woocommerce_update_customer', array( __CLASS__, 'schedule_import' ) ); add_action( 'updated_user_meta', array( __CLASS__, 'schedule_import_via_last_active' ), 10, 3 ); add_action( 'woocommerce_privacy_remove_order_personal_data', array( __CLASS__, 'schedule_anonymize' ) ); add_action( 'delete_user', array( __CLASS__, 'schedule_user_delete' ) ); add_action( 'remove_user_from_blog', array( __CLASS__, 'schedule_user_delete' ) ); CustomersDataStore::init(); parent::init(); }