WordPress filter hook

inference_works_plugins

Fired by 4 WordPress plugins.

How to use inference_works_plugins

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( 'inference_works_plugins', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from Inference Works's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

4 plugins that fire inference_works_plugins

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Inference Works icon Inference WorksFewer than 10 installs apply_filters( 'inference_works_plugins', array() ) includes/Admin/Menu.php:172
  2. Inference Works icon Inference WorksFewer than 10 installs apply_filters( 'inference_works_plugins', array() ) includes/Admin/SharedMenu.php:172
  3. Inference Works Order Invoice Attach for WooCommerce icon Inference Works Order Invoice Attach for WooCommerceFewer than 10 installs apply_filters( 'inference_works_plugins', array() ) includes/class-iwoia-menu.php:153
  4. Inference Works icon Inference WorksFewer than 10 installs apply_filters( 'inference_works_plugins', array() ) includes/Admin/SharedMenu.php:172

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.