Product Option Kit 1.3.1 has 5 actions and 21 filters, read directly from its source code on Nov 18, 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 Product Option Kit fires an action
add_action( 'pkset_stats_record', function( $set_id, $metric, $arg3 ) {
// Your code runs here.
}, 10, 3 );
// Change a value Product Option Kit is about to use
add_filter( 'pkset_currency_adapters', function( $list ) {
// Change $list here.
return $list;
}, 10, 1 );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
-
/** * Record a stats metric. */ do_action( 'pkset_stats_record', $set_id, $metric, 0 ); -
/** * Allow stats / cleanup listeners to react to a removed set. */ do_action( 'pkset_set_deleted', $id ); -
/** * Filter the ordered list of currency adapter classes. */ apply_filters( 'pkset_currency_adapters', $list ); -
/** * Filter the currency-converted amount. */ apply_filters( 'pkset_currency_convert', $result, $price, $adapter ); -
/** * Filter the currency-reverted amount. */ apply_filters( 'pkset_currency_revert', $result, $price, $adapter ); -
/** * Filter the resolved product base price (base currency, pre-tax). */ apply_filters( 'pkset_price_base', $base, $productId, $variationId ); -
/** * Filter a single field's computed option price. */ apply_filters( 'pkset_price_choice', $total, $node, $field ); -
/** * Filter the base used for percent price-mode calculations. */ apply_filters( 'pkset_price_percent_base', $base, $productId, $variationId ); -
/** * Filter the resolved set ids for a product. */ apply_filters( 'pkset_resolved_set_ids', $ids, $product_id ); -
/** * Filter the allowed upload extension => MIME map. */ apply_filters( 'pkset_upload_mimes', self::SAFE_TYPES ); -
apply_filters( 'wc_aelia_cs_convert', $price, $this->base_currency, $this->active_currency ); -
do_action( 'pkset_booted', $this ); -
apply_filters( 'pkset_cap_manage', 'manage_options' ); -
apply_filters( 'pkset_cap_read', 'manage_options' ); -
do_action( 'pkset_enqueue_store_assets', $product_id, $published_ids ); -
apply_filters( 'pkset_field_types', array( 'text' => $base . 'TextField', 'textarea' => $base . 'TextareaField', 'email' => $base . 'EmailField', 'url' => $base . 'UrlField', 'tel' => $base . 'TelField', 'number' => $base . 'NumberField', 'checkbox' => $base . 'CheckboxField', 'radio' => $base . 'RadioField', 'select' => $base . 'SelectField', 'toggle' => $base . 'ToggleField', 'range' => $base . 'RangeField', 'date' => $base . '... ); -
apply_filters( 'pkset_quick_setup_api_key', self::API_KEY ); -
apply_filters( 'pkset_quick_setup_api_url', self::API_URL ); -
do_action( 'pkset_set_saved', (int) $id, $fields ); -
apply_filters( 'wc_aelia_cs_base_currency', '' ); -
woocommerce_product_addons_option_price_raw
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'woocommerce_product_addons_option_price_raw', $price, '' ); -
apply_filters( 'woocs_back_convert_price', $price, '' ); -
apply_filters( 'woocs_convert_price', $price, '' ); -
apply_filters( 'yay_currency_convert_price', $price, '' ); -
apply_filters( 'yay_currency_revert_price', $price, '' ); -
apply_filters( 'yith_wcmcs_convert_price', $price, '' );
Generated from Product Option Kit'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: