WC_Admin_Webhooks::screen_option()
Add screen option.
Description Description
Source Source
File: includes/admin/class-wc-admin-webhooks.php
public function screen_option() { global $webhooks_table_list; if ( ! isset( $_GET['edit-webhook'] ) && $this->is_webhook_settings_page() ) { // WPCS: input var okay, CSRF ok. $webhooks_table_list = new WC_Admin_Webhooks_Table_List(); // Add screen option. add_screen_option( 'per_page', array( 'default' => 10, 'option' => 'woocommerce_webhooks_per_page', ) ); } }