Hooks::run_init_hooks()

Runs the callbacks registered by the Hooks object on the init action.

Contents

This method is useful for a late registration of the Commerce functionality after the init action has already been fired.


Source

File: src/Tickets/Commerce/Hooks.php

	public function run_init_hooks(): void {
		$this->register_post_types();
		$this->register_order_statuses();
		$this->register_order_reports();
		$this->register_attendee_reports();
		$this->register_event_compatibility_hooks();
	}

Top ↑

Changelog

Changelog
Version Description
5.16.0 Introduced.