WC_Admin_Report::add_update_transients_hook()
Init the static hooks of the class.
Метод класса: WC_Admin_Report{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = WC_Admin_Report::add_update_transients_hook();
Код WC_Admin_Report::add_update_transients_hook() WC Admin Report::add update transients hook WC 8.7.0
protected static function add_update_transients_hook() { if ( ! has_action( 'shutdown', array( 'WC_Admin_Report', 'maybe_update_transients' ) ) ) { add_action( 'shutdown', array( 'WC_Admin_Report', 'maybe_update_transients' ) ); } }