Inputo 1.3.0 has 15 actions and 18 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Inputo fires an action
add_action( 'inputo_nyp_admin_heading_chips', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Inputo is about to use
add_filter( 'inputo_nyp_widget_args', function( $merge, $product ) {
// Change $merge here.
return $merge;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filter everything the price box template receives. */ apply_filters( 'inputo_nyp_widget_args', array_merge( array( 'product' => $product, 'uid' => 'inputo-nyp-' . $product->get_id() . '-' . wp_unique_id(), 'variable' => $variable, 'thresholds' => $thresholds, 'settings' => Inputo_NYP_Settings::all(), 'format' => Inputo_NYP_Price::format(), 'value' => $posted, 'rejected' => '' !== $posted, 'config' => $config, 'name' => $name, ), (array) $extra ), $product ); -
/** * Fires after a field's control, for custom field types. */ do_action( "inputo_nyp_admin_field_{$type}", $key, $field, $value ); -
/** * Fires after the version chip in the screen heading. */ do_action( 'inputo_nyp_admin_heading_chips' ); -
/** * Fires after the settings page assets are queued. */ do_action( 'inputo_nyp_admin_page_assets', $tab ); -
/** * Filter whether a product may be taken for nothing. */ apply_filters( 'inputo_nyp_allows_free', $free, $product ); -
/** * Filter an amount on its way from the stored base to what the shopper sees. */ apply_filters( 'inputo_nyp_amount_to_display', $display, $product, $amount ); -
/** * Filter an amount the shopper typed on its way to the stored base. */ apply_filters( 'inputo_nyp_amount_to_stored', $amount, $product ); -
/** * Filter the percentages used for amounts a product leaves blank. */ apply_filters( 'inputo_nyp_default_percentages', array( 'min' => (float) Inputo_NYP_Settings::get( 'min_pct' ), 'suggested' => (float) Inputo_NYP_Settings::get( 'suggested_pct' ), 'generous' => (float) Inputo_NYP_Settings::get( 'generous_pct' ), 'max' => (float) Inputo_NYP_Settings::get( 'max_pct' ), ), $product ); -
/** * Filter the documentation sections. */ apply_filters( 'inputo_nyp_docs_sections', $sections ); -
/** * Fires after the storefront assets are queued. */ do_action( 'inputo_nyp_enqueue_assets' ); -
/** * Filter whether a product takes a price the customer names. */ apply_filters( 'inputo_nyp_is_enabled', self::is_switched_on( $product ), $product ); -
/** * Filter the SQL condition that marks a product as named price in the product * list filter. */ apply_filters( 'inputo_nyp_list_filter_named_sql', $named ); -
/** * Fires once the plugin has loaded every class. */ do_action( 'inputo_nyp_loaded' ); -
/** * Fires after a named price was recorded on an order line. */ do_action( 'inputo_nyp_order_line_recorded', $order_item, $values ); -
/** * Fires after a cart item's product took its named amount as price. */ do_action( 'inputo_nyp_price_applied', $item['data'], (float) $item[ self::KEY ]['stored'], $item ); -
/** * Filter the wording of the price line near the title and in product lists. */ apply_filters( 'inputo_nyp_price_texts', array( 'field_label' => (string) Inputo_NYP_Settings::get( 'field_label' ), 'suggested_text' => (string) Inputo_NYP_Settings::get( 'suggested_text' ), 'from_text' => (string) Inputo_NYP_Settings::get( 'from_text' ), ), $product ); -
/** * Fires at the end of the Name your price tab. */ do_action( 'inputo_nyp_product_panel_after', $product ); -
/** * Filter the product types the Name your price tab shows for. */ apply_filters( 'inputo_nyp_product_panel_classes', array( 'simple' => array( 'show_if_simple' ), 'variable' => array( 'show_if_variable' ), ) ); -
/** * Fires after the storefront assets are registered. */ do_action( 'inputo_nyp_register_assets' ); -
/** * Fires while a product's named price fields are saved. */ do_action( 'inputo_nyp_save_product', $product ); -
/** * Fires while a variation's named price fields are saved. */ do_action( 'inputo_nyp_save_variation', $variation, $i ); -
/** * Fires after a settings tab was saved. */ do_action( 'inputo_nyp_settings_saved', $tab, $input ); -
/** * Filter the settings schema. */ apply_filters( 'inputo_nyp_settings_schema', self::base_schema() ); -
/** * Filter the amounts that guide the customer, in the stored base. */ apply_filters( 'inputo_nyp_thresholds', $amounts, $product ); -
/** * Fires after the plugin was updated to a new version. */ do_action( 'inputo_nyp_upgraded', $stored ); -
/** * Filter the result of checking a named price. */ apply_filters( 'inputo_nyp_validate_price', $result, $raw, $product ); -
/** * Filter the named price data sent to the script for one variation. */ apply_filters( 'inputo_nyp_variation_data', array( 'thresholds' => Inputo_NYP_Product::display_thresholds( $variation ), 'allowFree' => Inputo_NYP_Product::allows_free( $variation ), ), $variation, $parent ); -
/** * Fires below the price field. */ do_action( 'inputo_nyp_widget_after_field', $inputo_nyp['product'], $inputo_nyp ); -
/** * Fires above the price field. */ do_action( 'inputo_nyp_widget_before_field', $inputo_nyp['product'], $inputo_nyp ); -
woocommerce_adjust_non_base_location_prices
filter Used by 50 plugins → Copy link Customise this hook/** * This filter is documented in woocommerce/includes/wc-product-functions.php */ apply_filters( 'woocommerce_adjust_non_base_location_prices', true ); -
apply_filters( 'inputo_nyp_product_meta_keys', array( self::META_ENABLED, self::META_MIN, self::META_SUGGESTED, self::META_GENEROUS, self::META_MAX ) ); -
apply_filters( 'inputo_nyp_supported_types', array( 'simple', 'variation' ) ); -
apply_filters( 'inputo_nyp_widget_config', $config, $product );
Generated from Inputo's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: