NM Gift Registry and Wishlist Lite 6.3.0 has 52 actions and 95 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 NM Gift Registry and Wishlist Lite fires an action
add_action( 'nmgr_fulfilled_wishlist', function( $arg1, $wishlist ) {
// Your code runs here.
}, 10, 2 );
// Change a value NM Gift Registry and Wishlist Lite is about to use
add_filter( 'nmgr_table_default_props', function( $value, $object ) {
// Change $value here.
return $value;
}, 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
-
/** * Set settings errors here */ apply_filters( "{$this->page_slug()}_validate_input", $input, $this ); -
/** * Functions hooked into this action should typically only be run once (except * in the case of refunds), */ do_action( 'nmgr_fulfilled_wishlist', $wishlist->get_id(), $wishlist ); -
/** * Allow users to set default table properties here. We're doing this in the * set_data() method because this method is called once for every instantiated * table and the table id is already set by the time the method is called. The * table id is needed for the filter to target a specific table. Maybe in the * future we can find a better place (maybe constructor) to set the default * table properties. */ apply_filters( 'nmgr_table_default_props', [], $this ); -
/** * Allow others to validate posted data */ do_action( 'nmgr_validate_fields', $this->data, $this->all_fields, $this ); -
do_action_deprecated( 'nmgr_data_after_save', [ $this ], '5.4', 'nmgr_item_created' ); -
do_action_deprecated( 'nmgr_data_before_save', [ $this ], '5.4', 'nmgr_item_create' ); -
do_action_deprecated( 'nmgr_save', [ $this->data, [], $this ], '5.4', 'nmgr_item_created' ); -
do_action( 'nmgr_created_wishlist', $post_id ); -
apply_filters_deprecated( 'nmgr_get_wishlists_in_cart', [ $wishlists, $cart ], '5.14' ); -
do_action( 'nmgr_save_extra_data', $this->extra_data, $this ); -
apply_filters( "{$this->option_name}_save_default_values", array_merge( $defaults, $existing_settings ), $this ); -
do_action( "{$this->page_slug()}_before_save_input", $input, $this ); -
do_action( "{$this->page_slug()}_tab_{$this->current_tab}" ); -
apply_filters( "{$this->page_slug()}_tab_section_title", $label, $key, $this ); -
apply_filters( "{$this->page_slug()}_tab_sections", call_user_func( array( $this, $tab_sections ) ), $tab ); -
apply_filters( "{$this->page_slug()}_tab_title", $tab_title, $slug, $this ); -
do_action( "{nmgr()->prefix}_installed" ); -
do_action( "{nmgr()->prefix}_plugin_loaded" ); -
apply_filters( 'is_nmgr_admin', $bool ); -
apply_filters_deprecated( 'is_nmgr_cart_shipping_to_wishlist_address', [ $val, false ], '5.11' ); -
apply_filters( 'is_nmgr_enabled', (( bool ) nmgr_get_type_option( $type, 'enable' )), $type ); -
apply_filters( 'is_nmgr_guest', $val, $type ); -
apply_filters( 'is_nmgr_user', (is_user_logged_in() || is_nmgr_guest( $type )) ); -
apply_filters_deprecated( 'is_nmgr_wishlist', [ $single ], '5.10' ); -
apply_filters_deprecated( 'is_nmgr_wishlist_page', [ $is_page, [ 'query' => $query ] ], '5.7' ); -
apply_filters_deprecated( "nmgr_{$this->section_key}_template_title", [ $data[ 'title' ] ?? '' ], '5.4', 'nmgr_fields_account' ); -
apply_filters( "nmgr_{$type}_roles", array( 'administrator', 'shop_manager' ) ); -
apply_filters_deprecated( 'nmgr_add_to_cart_text', [ $text, $this ], '6.0.0', 'woocommerce_product_single_add_to_cart_text' ); -
do_action( 'nmgr_add_to_wishlist_dialog_content_after', $args ); -
do_action( 'nmgr_add_to_wishlist_dialog_content_after_title', $args ); -
do_action( 'nmgr_add_to_wishlist_dialog_content_after_wishlists', $args ); -
do_action( 'nmgr_add_to_wishlist_dialog_content_before', $args ); -
apply_filters( 'nmgr_add_to_wishlist_item_data', $item_data, $add_to_wishlist_params ); -
apply_filters( 'nmgr_add_to_wishlist_item_name_in_quotes', sprintf( _x( '“%s”', 'Item name in quotes', 'nm-gift-registry-lite' ), strip_tags( get_the_title( $product_id ) ) ), $product_id ); -
apply_filters( 'nmgr_add_to_wishlist_mode', $umode, [ 'type' => $type ] ); -
apply_filters( 'nmgr_add_to_wishlist_notice', $added_text, $wishlist, $product_ids_to_qtys ); -
apply_filters( 'nmgr_add_to_wishlist_qty_html', ($qty > 1 ? absint( $qty ) . ' × ' : ''), $product_id ); -
do_action( 'nmgr_added_to_wishlist', $add_to_wishlist_params ); -
do_action( "nmgr_after_account_{$section}", $this ); -
do_action( 'nmgr_after_archive_loop', $the_query, $action_args ); -
do_action_deprecated( 'nmgr_after_archive_title', [ $query, $args ], '5.6' ); -
do_action_deprecated( 'nmgr_after_single', [ $this->wishlist ], '5.8', 'nmgr_wishlist' ); -
do_action( 'nmgr_after_wishlists', $wishlists ); -
do_action_deprecated( 'nmgr_archive_header', [ $the_query, $action_args ], '5.6' ); -
do_action( 'nmgr_archive_no_results_found', $the_query, $action_args ); -
apply_filters( 'nmgr_archive_template_args', $args ); -
apply_filters( 'nmgr_archive_title', $title, $query, $args ); -
do_action( "nmgr_before_account_{$section}", $this ); -
do_action( 'nmgr_before_archive_loop', $the_query, $action_args ); -
do_action( 'nmgr_before_delete_wishlist', $post_id ); -
do_action( 'nmgr_before_delete_wishlist_item', $this->get_id() ); -
do_action_deprecated( 'nmgr_before_single', [ $this->wishlist ], '5.8', 'nmgr_wishlist' ); -
do_action( 'nmgr_before_wishlists', $wishlists ); -
do_action( 'nmgr_create_wishlist', $this ); -
apply_filters( 'nmgr_default_data', $data, $this ); -
apply_filters( 'nmgr_delete_item_notice', $notice, $item ); -
do_action( 'nmgr_delete_wishlist', $post_id ); -
apply_filters_deprecated( 'nmgr_do_order_payment_actions', [ false, $order ], '5.12' ); -
apply_filters_deprecated( 'nmgr_do_order_payment_complete', [ ($order->has_status( array_merge( $is_paid_statuses, $payment_cancelled_statuses ) ) || doing_action( 'woocommerce_order_refunded' ) || doing_action( 'woocommerce_refund_deleted' )), $order ], '5.12' ); -
do_action( "nmgr_email_setting_column_{$key}", $section_args ); -
apply_filters( 'nmgr_email_setting_columns', array( 'status' => '', 'name' => __( 'Email', 'nm-gift-registry-lite' ), 'email_type' => __( 'Content type', 'nm-gift-registry-lite' ), 'recipient' => __( 'Recipient(s)', 'nm-gift-registry-lite' ), 'actions' => '', ) ); -
apply_filters( 'nmgr_fields', $fields_with_shipping, $func_args ); -
apply_filters( "nmgr_fields_{$this->get_id()}", $data, $this ); -
apply_filters_deprecated( 'nmgr_fields_title', [ $title, $fieldset ], '5.8' ); -
apply_filters( 'nmgr_get_cart_item_data', $val, $cart_item, $data_type ); -
apply_filters_deprecated( 'nmgr_get_data', [ $this->data, $this ], '5.4' ); -
apply_filters( 'nmgr_get_item_data_content', $data, $item, $wishlist ); -
apply_filters( 'nmgr_get_meta_data', $this->meta_data, $this ); -
apply_filters( 'nmgr_get_option', $value, [ 'option_key' => $option_key, 'default_value' => $default_value, 'type' => $type, 'options' => $options ] ); -
apply_filters( 'nmgr_get_search_query', $s ); -
apply_filters( 'nmgr_get_wishlist', null, $wishlist_id, $deprecated ); -
apply_filters_deprecated( 'nmgr_get_wishlist_data', [ $data, $this ], '5.4' ); -
apply_filters( 'nmgr_get_wishlist_in_cart', $id, $cart ); -
apply_filters( 'nmgr_get_wishlist_item', null, $item_id ); -
do_action( 'nmgr_item_add_to_cart_form', $item ); -
apply_filters( 'nmgr_item_add_to_cart_form_html', null, $this ); -
do_action( 'nmgr_item_after_add_to_cart_form', $item ); -
do_action( 'nmgr_item_after_title', $this ); -
do_action( 'nmgr_item_before_add_to_cart_form', $item ); -
apply_filters( 'nmgr_item_cost', $amt, $this ); -
do_action( 'nmgr_item_create', $this ); -
do_action( 'nmgr_item_created', $this ); -
apply_filters( 'nmgr_item_fulfilled_notice', sprintf( __( 'This item has been bought for the %s owner.', 'nm-gift-registry-lite' ), nmgr_get_type_title( '', 0, $this->table->wishlist->get_type() ) ) ); -
apply_filters( 'nmgr_item_image_size', $size, $this ); -
apply_filters( 'nmgr_item_input_max_quantity', '', $this ); -
apply_filters( 'nmgr_item_input_min_quantity', 1, $this ); -
apply_filters( 'nmgr_item_is_fulfilled', $fulfilled, $this ); -
apply_filters( 'nmgr_item_is_purchased', $purchased, $this ); -
apply_filters_deprecated( 'nmgr_item_purchased_order_status', [ $status, $args ], '5.10' ); -
apply_filters( 'nmgr_item_purchased_quantity', $this->data[ 'purchased_quantity' ], $this ); -
apply_filters_deprecated( 'nmgr_item_purchased_quantity_display', [ $item->get_purchased_quantity(), $item ], '6.0.0' ); -
apply_filters( 'nmgr_item_row_attributes', $attributes, $this ); -
do_action( 'nmgr_item_title_end', $this ); -
apply_filters( 'nmgr_item_total', $amt, $this ); -
apply_filters( 'nmgr_item_total_purchased_amount', $this->get_purchased_amount(), $this ); -
apply_filters( 'nmgr_item_unpurchased_amount', $amt, $this ); -
do_action( 'nmgr_item_update', $this ); -
do_action( 'nmgr_item_updated', $this, $original_data ); -
apply_filters_deprecated( 'nmgr_items', [ $this->read_items( $args ), $this ], '5.0.0' ); -
apply_filters( 'nmgr_items_per_page', $this->items_per_page, $this->id, $this ); -
apply_filters( 'nmgr_items_table_attributes', $attributes, $this ); -
apply_filters( 'nmgr_maybe_add_to_wishlist', true, $add_to_wishlist_params ); -
apply_filters( 'nmgr_meta_keys_for_wishlist_ids_in_order', [ 'nmgr_wishlist_id' ], $order ); -
apply_filters( 'nmgr_meta_keys_to_search', array( '_last_name', '_first_name', '_partner_first_name', '_partner_last_name', '_email' ) ); -
do_action_deprecated( 'nmgr_order_payment_complete', [ $order_id, $order_wishlist_data, $order ], '5.12' ); -
do_action_deprecated( 'nmgr_order_payment_incomplete', [ $order_id, $order_wishlist_data, $order ], '5.10' ); -
apply_filters( 'nmgr_payment_cancelled_order_statuses', array( 'cancelled', 'pending' ) ); -
do_action( 'nmgr_post_action', $args ); -
apply_filters( 'nmgr_post_statuses', array( 'publish', 'private' ) ); -
apply_filters( 'nmgr_redirect_after_save', $redirect, $response_data ); -
apply_filters( 'nmgr_register_post_type', $args ); -
apply_filters( 'nmgr_register_taxonomy_args', array( 'hierarchical' => true, 'labels' => array( 'name' => __( 'Wishlist type', 'nm-gift-registry-lite' ), 'singular_name' => __( 'Wishlist type', 'nm-gift-registry-lite' ), 'menu_name' => _x( 'Wishlist types', 'Admin menu name', 'nm-gift-registry-lite' ), 'search_items' => __( 'Search wishlist types', 'nm-gift-registry-lite' ), 'all_items' => __( 'All wishlist types', 'nm-gift-registry-lite' ... ); -
apply_filters_deprecated( 'nmgr_requested_fields', [ $modified_fields, $func_args ], '5.8', 'nmgr_fields' ); -
apply_filters( 'nmgr_search_form', $temp, $vars ); -
apply_filters( 'nmgr_search_submit_button_text', _x( 'Search', 'submit button', 'nm-gift-registry-lite' ) ); -
apply_filters( 'nmgr_search_template_args', $args ); -
apply_filters_deprecated( 'nmgr_set_shipping_address_url', [ $link, $this->wishlist ], '5.10' ); -
apply_filters( 'nmgr_settings_tabs', $tabs, $this->get_type() ); -
apply_filters( 'nmgr_shop_loop_actions', array( 'woocommerce_before_shop_loop_item', 'woocommerce_before_shop_loop_item_title', 'woocommerce_shop_loop_item_title', 'woocommerce_after_shop_loop_item_title', 'woocommerce_after_shop_loop_item' ) ); -
apply_filters_deprecated( 'nmgr_shop_order_column_data', [ $data, $order ], '5.14.1' ); -
apply_filters( 'nmgr_show_add_to_wishlist_button', true, $product, $type ); -
apply_filters_deprecated( 'nmgr_show_archive_results_count', [ $args[ 'show_results_count' ] ], '5.6' ); -
apply_filters( 'nmgr_thumbnail_size', 90 ); -
apply_filters( 'nmgr_toast_options', $options ); -
do_action( 'nmgr_trashed_wishlist', $post_id ); -
apply_filters( 'nmgr_type_title', $type_title, $formatting, $pluralize, $type_titles, $type ); -
do_action( 'nmgr_untrashed_wishlist', $post_id ); -
do_action( 'nmgr_update_wishlist', $this ); -
do_action( 'nmgr_updated_wishlist', $this->get_id(), $this ); -
do_action( 'nmgr_wishlist', $this->wishlist ); -
apply_filters( 'nmgr_wishlist_class', $class ); -
apply_filters( 'nmgr_wishlist_item_class', $class ); -
do_action( 'nmgr_wishlist_item_deleted', $this->get_id(), $wishlist_id ); -
apply_filters( 'nmgr_wishlist_item_purchased_count', $count, $this ); -
apply_filters( 'nmgr_wishlist_needs_shipping_address', $val, $this ); -
apply_filters( 'nmgr_wishlist_permalink', get_permalink( $this->get_id() ), $this ); -
apply_filters( 'nmgr_wishlist_template', ob_get_clean(), $this ); -
apply_filters( 'nmgr_wishlist_total_purchased_amount', $this->get_purchased_amount(), $this ); -
apply_filters( 'plugin_locale', determine_locale(), 'nm-gift-registry-lite' ); -
apply_filters( 'widget_title', $instance[ 'title' ] ); -
apply_filters( 'woocommerce_add_to_cart_redirect', false, false ); -
apply_filters( 'woocommerce_add_to_cart_validation', $passed, $product_id, $quantity ); -
do_action( 'woocommerce_ajax_added_to_cart', $product_id ); -
apply_filters( 'woocommerce_cart_item_name', $cart_item[ 'data' ]->get_name(), $cart_item, $cart_item_key );
Generated from NM Gift Registry and Wishlist Lite'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: