woocommerce_load_webhooks_limit filter-hookWC 3.6.0

Hook: woocommerce_load_webhooks_limit.

Usage

add_filter( 'woocommerce_load_webhooks_limit', 'wp_kama_woocommerce_load_webhooks_limit_filter' );

/**
 * Function for `woocommerce_load_webhooks_limit` filter-hook.
 * 
 * @param int $limit Used to limit how many webhooks are loaded.
 *
 * @return int
 */
function wp_kama_woocommerce_load_webhooks_limit_filter( $limit ){

	// filter...
	return $limit;
}
$limit(int)
Used to limit how many webhooks are loaded.
Default: no limit

Changelog

Since 3.6.0 Introduced.

Where the hook is called

WooCommerce::load_webhooks()
woocommerce_load_webhooks_limit
woocommerce/includes/class-woocommerce.php 816
$limit = apply_filters( 'woocommerce_load_webhooks_limit', null );

Where the hook is used in WooCommerce

Usage not found.