Coupon Fun (WordPress Coupon Plugin by ThemeXL.com) 1.0.0 has 9 actions and 35 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 Coupon Fun (WordPress Coupon Plugin by ThemeXL.com) fires an action
add_action( 'rwmb_enqueue_scripts', function( $object ) {
// Your code runs here.
}, 10, 1 );
// Change a value Coupon Fun (WordPress Coupon Plugin by ThemeXL.com) is about to use
add_filter( 'rwmb_google_maps_url', function( $google_maps_url ) {
// Change $google_maps_url here.
return $google_maps_url;
}, 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
-
/** * Allows developers load more libraries via a filter. */ apply_filters( 'rwmb_google_maps_url', $google_maps_url ); -
/** * Allow developers to enqueue more scripts and styles */ do_action( 'rwmb_enqueue_scripts', $this ); -
/** * Allow filter meta box class name. */ apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $meta_box ); -
/** * Filter meta type from object type and object id. */ apply_filters( 'rwmb_meta_type', $type, $args['object_type'], $object_id ); -
apply_filters( 'rwmb_meta', rwmb_meta_legacy( $key, $args, $post_id ) ); -
apply_filters( 'wpml_object_id', $value, $object_type, true, $target_language ); -
do_action( "rwmb_{$this->id}_after_save_post", $post_id ); -
do_action( "rwmb_{$this->id}_before_save_post", $post_id ); -
do_action( 'rwmb_after', $this ); -
do_action( "rwmb_after_{$this->id}", $this ); -
do_action( 'rwmb_after_save_post', $post_id ); -
apply_filters( 'rwmb_autocomplete_field', $field, $meta ); -
apply_filters( 'rwmb_autocomplete_result_label', $value, $field ); -
do_action( 'rwmb_before', $this ); -
do_action( "rwmb_before_{$this->id}", $this ); -
do_action( 'rwmb_before_save_post', $post_id ); -
apply_filters( 'rwmb_file_add_string', _x( '+ Add new file', 'file upload', 'meta-box' ), $field ); -
apply_filters( 'rwmb_file_delete_string', _x( 'Delete', 'file upload', 'meta-box' ) ); -
apply_filters( 'rwmb_file_edit_string', _x( 'Edit', 'file upload', 'meta-box' ) ); -
apply_filters( 'rwmb_get_storage', $storage, $object_type, $meta_box ); -
apply_filters( 'rwmb_get_value', $value, $field, $args, $post_id ); -
apply_filters( 'rwmb_media_add_string', _x( '+ Add Media', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_edit_string', _x( 'Edit', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_multiple_files_string', _x( ' files', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_or_string', _x( 'or', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_remove_string', _x( 'Remove', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_select_string', _x( 'Select Files', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_single_files_string', _x( ' file', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_upload_instructions_string', _x( 'Drop files here to upload', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_media_view_string', _x( 'View', 'media', 'meta-box' ) ); -
apply_filters( 'rwmb_meta_box_settings', $this->meta_box ); -
apply_filters( 'rwmb_meta_boxes', array() ); -
apply_filters( "rwmb_normalize_{$field['id']}_field", $field ); -
apply_filters( "rwmb_normalize_{$field['type']}_field", $field ); -
apply_filters( 'rwmb_normalize_field', $field ); -
apply_filters( 'rwmb_option', $option, $field ); -
apply_filters( 'rwmb_option_label', $option->$label, $option, $field ); -
apply_filters( 'rwmb_show', true, $this->meta_box ); -
apply_filters( "rwmb_show_{$this->id}", $show, $this->meta_box ); -
apply_filters( 'rwmb_storage_class_name', $class_name, $object_type ); -
apply_filters( 'rwmb_the_value', $output, $field, $args, $post_id ); -
apply_filters( 'rwmb_type_map', array( 'file_advanced' => 'media', 'plupload_image' => 'image_upload', 'url' => 'text', ) ); -
apply_filters( 'rwmb_wysiwyg_settings', $field['options'] ); -
apply_filters( 'wpml_sub_setting', false, 'translation-management', 'custom_fields_translation' );
Generated from Coupon Fun (WordPress Coupon Plugin by ThemeXL.com)'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: