WC_Admin_Webhooks::page_output()
Page output.
Метод класса: WC_Admin_Webhooks{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = WC_Admin_Webhooks::page_output();
Код WC_Admin_Webhooks::page_output() WC Admin Webhooks::page output WC 9.6.2
public static function page_output() { // Hide the save button. $GLOBALS['hide_save_button'] = true; // phpcs:ignore WordPress.Security.NonceVerification.Recommended if ( isset( $_GET['edit-webhook'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended $webhook_id = absint( $_GET['edit-webhook'] ); $webhook = new WC_Webhook( $webhook_id ); include __DIR__ . '/settings/views/html-webhooks-edit.php'; return; } self::table_list_output(); }