woocommerce_load_webhooks_limit

woocommerce_load_webhooks_limit

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('woocommerce_load_webhooks_limit') is found 1 times:

  • /includes/class-woocommerce.php line 1020
    1016
    1017
    1018
    1019
    1020
    1021
    1022
    1023
    1024
    1025
    1026
         *
         * @since 3.6.0
         * @param int $limit Used to limit how many webhooks are loaded. Default: no limit.
         */
        $limit = apply_filters( 'woocommerce_load_webhooks_limit', null );
     
        wc_load_webhooks( 'active', $limit );
    }
     
    /**
     * Initialize the customer and cart objects and setup customer saving on shutdown.