WC_Admin_Webhooks::page_output()

Page output.


Description Description


Source Source

File: includes/admin/class-wc-admin-webhooks.php

203
204
205
206
207
208
209
210
211
212
213
214
215
216
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();
}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.