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:

functions.php
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.

  1. Weight Based Shipping Table Rate for WooCommerce icon 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
  2. Flexible Checkout Fields for WooCommerce icon 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
  3. ShopMagic icon ShopMagic10,000+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  4. Shipping Live Rates and Access Points for UPS for WooCommerce icon 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
  5. Flexible PDF Invoices for WooCommerce & WordPress icon 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
  6. Shipping Live Rates for USPS for WooCommerce icon 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
  7. Custom Price for WooCommerce icon Custom Price for WooCommerce3,000+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  8. Shipping Live Rates for FedEx for WooCommerce icon 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
  9. Flexible Quantity & Price Calculator for WooCommerce icon 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
  10. Flexible PDF Coupons icon Flexible PDF Coupons2,000+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  11. Flexible Refund for WooCommerce icon Flexible Refund for WooCommerce2,000+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  12. Cart Weight for WooCommerce icon Cart Weight for WooCommerce1,000+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  13. Autopay dla WooCommerce icon Autopay dla WooCommerce1,000+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  14. Flexible Subscriptions icon Flexible Subscriptions1,000+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  15. Checkout Fields for Blocks icon Checkout Fields for Blocks1,000+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  16. Flexible Invoices for WooCommerce icon Flexible Invoices for WooCommerce700+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  17. Dropshipping XML Import for WooCommerce icon Dropshipping XML Import for WooCommerce700+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  18. Shipping Live Rates for DHL Express for WooCommerce icon 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
  19. Empik for Woocommerce icon Empik for Woocommerce500+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:98
  20. Shipping Live rates for Australia Post for WooCommerce icon 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
  21. Shipping Live rates for Canada Post for WooCommerce icon 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
  22. Shipping Live Rates for Royal Mail for WooCommerce icon 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
  23. DHL eCommerce (Poland) dla WooCommerce icon DHL eCommerce (Poland) dla WooCommerce300+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  24. Shipping Notices and No shipping options found info for WooCommerce icon 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
  25. Shipping Cost on Product Page Calculator for WooCommerce icon 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
  26. Flexible EAN for WooCommerce icon Flexible EAN for WooCommerce200+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  27. Kinguin API for WooCommerce icon Kinguin API for WooCommerce100+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:98
  28. Dropshipping Product Export for WooCommerce icon Dropshipping Product Export for WooCommerce10+ installs apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ) vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:100
  29. Flexible Chat icon 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.