WC_Notes_Refund_Returns::init
Attach hooks.
Метод класса: WC_Notes_Refund_Returns{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = WC_Notes_Refund_Returns::init();
Код WC_Notes_Refund_Returns::init() WC Notes Refund Returns::init WC 11.2.2
public static function init() {
add_action( 'woocommerce_newly_installed', array( __CLASS__, 'on_newly_installed' ) );
add_filter( 'woocommerce_get_note_from_db', array( __CLASS__, 'get_note_from_db' ), 10, 1 );
}