WC_Admin_Webhooks::page_output()
Page output.
Description Description
Source Source
File: includes/admin/class-wc-admin-webhooks.php
public static function page_output() {
// Hide the save button.
$GLOBALS['hide_save_button'] = true;
if ( isset( $_GET['edit-webhook'] ) ) { // WPCS: input var okay, CSRF ok.
$webhook_id = absint( $_GET['edit-webhook'] ); // WPCS: input var okay, CSRF ok.
$webhook = new WC_Webhook( $webhook_id );
include 'settings/views/html-webhooks-edit.php';
return;
}
self::table_list_output();
}