WordPress filter hook
wpdesk_is_wp_log_capture_permitted
Fired by 29 WordPress plugins, running on 226K+ sites between them.
How to use wpdesk_is_wp_log_capture_permitted
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wpdesk_is_wp_log_capture_permitted', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from Weight Based Shipping Table Rate for WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
29 plugins that fire wpdesk_is_wp_log_capture_permitted
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Weight Based Shipping Table Rate for WooCommerce100,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible Checkout Fields for WooCommerce80,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
ShopMagic10,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Shipping Live Rates and Access Points for UPS for WooCommerce7,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible PDF Invoices for WooCommerce & WordPress6,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Shipping Live Rates for USPS for WooCommerce3,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Custom Price for WooCommerce3,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Shipping Live Rates for FedEx for WooCommerce2,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible Quantity & Price Calculator for WooCommerce2,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible PDF Coupons2,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible Refund for WooCommerce2,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Cart Weight for WooCommerce1,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Autopay dla WooCommerce1,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible Subscriptions1,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Checkout Fields for Blocks1,000+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible Invoices for WooCommerce700+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Dropshipping XML Import for WooCommerce700+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Shipping Live Rates for DHL Express for WooCommerce600+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Empik for Woocommerce500+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:98 -
Shipping Live rates for Australia Post for WooCommerce400+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Shipping Live rates for Canada Post for WooCommerce400+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Shipping Live Rates for Royal Mail for WooCommerce400+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
DHL eCommerce (Poland) dla WooCommerce300+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Shipping Notices and No shipping options found info for WooCommerce300+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Shipping Cost on Product Page Calculator for WooCommerce300+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible EAN for WooCommerce200+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Kinguin API for WooCommerce100+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:98 -
Dropshipping Product Export for WooCommerce10+ installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100 -
Flexible ChatFewer than 10 installs
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true )vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.