Disclaimer Popup 1.2.0 has 15 actions and 38 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 Disclaimer Popup fires an action
add_action( 'mb_settings_page_load', function( $args ) {
// Your code runs here.
}, 10, 1 );
// Change a value Disclaimer Popup 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 ); -
/** * Custom hook runs when current page loads. Use this to add meta boxes and * filters. */ do_action( 'mb_settings_page_load', $this->args ); -
/** * Allow developers to enqueue more scripts and styles */ do_action( 'rwmb_enqueue_scripts', $this ); -
/** * Filter meta type from object type and object id. */ apply_filters( 'rwmb_meta_type', $args['type'], $args['object_type'], $object_id ); -
do_action( 'rwmb_flush_data', $object_id, $field, $args ); -
apply_filters( 'rwmb_meta', rwmb_meta_legacy( $key, $args, $post_id ) ); -
apply_filters( 'wpml_object_id', $value, $object_type, true, $target_language ); -
do_action( 'mb_settings_page_submit_buttons' ); -
apply_filters( 'mb_settings_pages', array() ); -
apply_filters( 'mb_settings_pages_data', $data, $object_id ); -
apply_filters( 'mbsp_page_title', $page_title, $this->args ); -
do_action( "rwmb_{$this->id}_after_save_post", $object_id ); -
do_action( "rwmb_{$this->id}_before_save_post", $object_id ); -
do_action( 'rwmb_about_tabs' ); -
do_action( 'rwmb_about_tabs_content' ); -
do_action( 'rwmb_after', $this ); -
do_action( "rwmb_after_{$this->id}", $this ); -
do_action( 'rwmb_after_save_post', $object_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', $object_id ); -
do_action( 'rwmb_field_registered', $field, $type, $object_type ); -
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_class_name', 'RW_Meta_Box', $settings ); -
apply_filters( 'rwmb_meta_box_settings', $this->meta_box ); -
apply_filters( 'rwmb_meta_boxes', [] ); -
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_oembed_not_available_string', $not_available ); -
apply_filters( 'rwmb_outside_conditions', [] ); -
apply_filters( 'rwmb_show', true, $this->meta_box ); -
apply_filters( "rwmb_show_{$this->id}", $show, $this->meta_box ); -
apply_filters( 'rwmb_the_value', $output, $field, $args, $post_id ); -
apply_filters( 'rwmb_validation_message_string', __( 'Please correct the errors highlighted below and try again.', 'meta-box' ) ); -
apply_filters( 'rwmb_wysiwyg_settings', $field['options'] ); -
apply_filters( 'wpml_sub_setting', false, 'translation-management', 'custom_fields_translation' );
Generated from Disclaimer Popup'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: