WooCommerce Code Reference

WC_Admin_Webhooks
in package

WC_Admin_Webhooks.

Table of Contents

__construct()  : mixed
Initialize the webhooks admin actions.
actions()  : mixed
Webhooks admin actions.
allow_save_settings()  : bool
Check if should allow save settings.
bulk_delete()  : mixed
Bulk delete.
get_logs_navigation()  : mixed
Get the logs navigation.
get_topic_data()  : array
Get the webhook topic data.
logs_output()  : mixed
Logs output.
notices()  : mixed
Notices.
page_output()  : mixed
Page output.
screen_option()  : mixed
Add screen option.
delete()  : mixed
Delete webhook.
is_webhook_settings_page()  : bool
Check if is webhook settings page.
save()  : mixed
Save method.
table_list_output()  : mixed
Table list output.

Methods

allow_save_settings()

Check if should allow save settings.

public allow_save_settings(bool $allow) : bool

This prevents "Your settings have been saved." notices on the table list.

Parameters
$allow : bool

If allow save settings.

Return values
bool