Rebel Slider 1.0.0 has 22 actions and 59 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 Rebel Slider fires an action
add_action( 'cmb2_admin_init', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Rebel Slider is about to use
add_filter( 'cmb2_api_get_boxes_permissions_check', 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
-
/** * Allows overloading the object (CMB2 or CMB2_Field) with additional * capabilities by registering hook callbacks. */ apply_filters_ref_array( "{$object_class}_inherit_{$method}", $args ); -
/** * Filter attributes for a field type. The dynamic portion of the hook name, * $element, refers to the field type. */ apply_filters( "cmb2_{$element}_attributes", $args, $type_defaults, $this->field, $this->types ); -
/** * Filter for determining if a field value has a valid image file-type * extension. */ apply_filters( "cmb2_{$this->field->id()}_is_valid_img_ext", $is_valid, $file, $file_ext ); -
/** * Fires before fields have been processed/saved. */ do_action( "cmb2_{$this->object_type()}_process_fields_{$this->cmb_id}", $this, $this->object_id() ); -
/** * Fires on the admin side when CMB2 is included/loaded. */ do_action( 'cmb2_admin_init' ); -
/** * Hook after form form has been rendered */ do_action( "cmb2_after_{$object_type}_form_{$this->cmb_id}", $object_id, $this ); -
/** * Hook after form form has been rendered */ do_action( 'cmb2_after_form', $this->cmb_id, $object_id, $object_type, $this ); -
/** * Fires after CMB2 initiation process has been completed */ do_action( 'cmb2_after_init' ); -
/** * By default, no special permissions needed. */ apply_filters( 'cmb2_api_get_boxes_permissions_check', true, $this ); -
/** * Hook before form table begins */ do_action( "cmb2_before_{$object_type}_form_{$this->cmb_id}", $object_id, $this ); -
/** * Hook before form table begins */ do_action( 'cmb2_before_form', $this->cmb_id, $object_id, $object_type, $this ); -
/** * Filter to determine if metabox is allowed to save. */ apply_filters( 'cmb2_can_save', $can_save, $this->cmb ); -
/** * Filter to determine if CMB2'S css should be enqueued. */ apply_filters( 'cmb2_enqueue_css', true ); -
/** * Filter to determine if CMB2'S JS should be enqueued. */ apply_filters( 'cmb2_enqueue_js', true ); -
/** * Allow for adding additional HTML attributes to a group wrapper. */ apply_filters( 'cmb2_group_wrap_attributes', $group_wrap_attributes, $field_group ); -
/** * Fires when CMB2 is included/loaded */ do_action( 'cmb2_init' ); -
/** * Hook during initiation of CMB2 object */ do_action( "cmb2_init_{$this->cmb_id}", $this ); -
/** * Fires after all CMB2 instances are created */ do_action( 'cmb2_init_before_hookup' ); -
/** * Initiates the box "hookup" into WordPress. */ do_action( "cmb2_init_hookup_{$cmb->cmb_id}", $cmb ); -
/** * Filter the CMB location url */ apply_filters( 'cmb2_meta_box_url', $cmb2_url, CMB2_VERSION ); -
/** * For back-compat. Does the dirty-work of instantiating all the CMB2 instances * for the cmb2_meta_boxes filter */ apply_filters( 'cmb2_meta_boxes', array() ); -
/** * Filter field types that are non-repeatable. */ apply_filters( 'cmb2_non_repeatable_fields', array() ); -
/** * Filter whether to override removing of meta value. */ apply_filters( "cmb2_override_{$a['field_id']}_meta_remove", $override, $a, $this->args(), $this ); -
/** * Filter and parameters are documented for 'cmb2_override_meta_save' filter * (above). */ apply_filters( "cmb2_override_{$a['field_id']}_meta_save", $override, $a, $this->args(), $this ); -
/** * Filter and parameters are documented for 'cmb2_override_meta_value' filter * (above). */ apply_filters( "cmb2_override_{$a['field_id']}_meta_value", $data, $this->object_id, $a, $this ); -
/** * Filter whether to override removing of meta value. Returning a non-null * value will effectively short-circuit the function. */ apply_filters( 'cmb2_override_meta_remove', null, $a, $this->args(), $this ); -
/** * Filter whether to override saving of meta value. Returning a non-null value * will effectively short-circuit the function. */ apply_filters( 'cmb2_override_meta_save', null, $a, $this->args(), $this ); -
/** * Filter whether to override getting of meta value. Returning a non * 'cmb2_field_no_override_val' value will effectively short-circuit the value * retrieval. */ apply_filters( 'cmb2_override_meta_value', 'cmb2_field_no_override_val', $this->object_id, $a, $this ); -
/** * A filter to bypass the default display. */ apply_filters( "cmb2_pre_field_display_{$this->type()}", null, $this, $display ); -
/** * Pass non-existent field types through an action. */ do_action( "cmb2_render_{$fieldtype}", $this->field, $this->field->escaped_value(), $this->field->object_id, $this->field->object_type, $this ); -
/** * Filters the custom field type class used for rendering the field. Class is * required to extend CMB2_Type_Base. */ apply_filters( "cmb2_render_class_{$fieldtype}", $render_class_name, $this ); -
/** * By default, 'text_url' and 'text' fields get table-like styling */ apply_filters( 'cmb2_repeat_table_row_types', array( 'text_url', 'text', ) ); -
/** * Filter the prepared CMB2 item response. */ apply_filters( 'cmb2_rest_prepare', rest_ensure_response( $data ), $this->request, $this ); -
/** * Filter whether 'taxonomy_*' fields should return their value when being * sanitized. */ apply_filters( "cmb2_return_taxonomy_values_{$cmb_id}", $return_values, $this ); -
/** * Globally filter row classes */ apply_filters( 'cmb2_row_classes', implode( ' ', $classes ), $this ); -
/** * Filter the value before it is saved. */ apply_filters( "cmb2_sanitize_{$this->type()}", null, $sanitizer->value, $this->object_id, $this->args(), $sanitizer ); -
/** * Fires after all fields have been saved. */ do_action( "cmb2_save_{$object_type}_fields", $object_id, $this->cmb_id, $this->updated, $this ); -
/** * Fires after all fields have been saved. */ do_action( "cmb2_save_{$object_type}_fields_{$this->cmb_id}", $object_id, $this->updated, $this ); -
/** * Hooks after save field action. */ do_action( 'cmb2_save_field', $field_id, $updated, $action, $this ); -
/** * Hooks after save field action. */ do_action( "cmb2_save_field_{$field_id}", $updated, $action, $this ); -
/** * Filter to determine if metabox should show. Default is true */ apply_filters( 'cmb2_show_on', $show, $this->cmb->meta_box, $this->cmb ); -
/** * Filter to determine if the term's fields should show in the "Add term" * section. */ apply_filters( "cmb2_show_on_term_add_form_{$this->cmb->cmb_id}", $show_on_add, $this->cmb ); -
/** * Filters the registered style dependencies for the cmb2 stylesheet. */ apply_filters( 'cmb2_style_dependencies', array() ); -
/** * Default (option-none) taxonomy-radio value. */ apply_filters( "cmb2_taxonomy_radio_{$field_id}_default_value", $option_none_value ); -
/** * Default (option-none) taxonomy-radio value. */ apply_filters( 'cmb2_taxonomy_radio_default_value', '' ); -
/** * Default (option-none) taxonomy-select value. */ apply_filters( "cmb2_taxonomy_select_{$field_id}_default_value", $option_none_value ); -
/** * Default (option-none) taxonomy-select value. */ apply_filters( 'cmb2_taxonomy_select_default_value', '' ); -
/** * Which image types are considered valid image file extensions. */ apply_filters( 'cmb2_valid_img_types', $valid_types ); -
/** * Globally filter box wrap classes */ apply_filters( 'cmb2_wrap_classes', $classes, $this ); -
/** * Fires when a deprecated argument is called. This is a WP core action. */ do_action( 'deprecated_argument_run', $function, $message, $version ); -
/** * Filters whether to trigger an error for deprecated arguments. This is a WP * core filter. */ apply_filters( 'deprecated_argument_trigger_error', true ); -
/** * Filter the post. */ apply_filters( 'rest_the_post', $post_obj, $post ); -
/** * Fires after each specific row in the TGMPA Plugins list table. */ do_action( "tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context ); -
/** * By default TGMPA only loads on the WP back-end and not in an Ajax call. * Using this filter you can overrule that behaviour. */ apply_filters( 'tgmpa_load', ( is_admin() && ! defined( 'DOING_AJAX' ) ) ); -
/** * Filter a sanitized key string. */ apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); -
tgmpa_update_bulk_plugins_complete_actions
filter Used by 146 plugins β Copy link Customise this hook/** * Filter the list of action links available following bulk plugin * installs/updates. */ apply_filters( 'tgmpa_update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info ); -
/** * Fires when the bulk upgrader process is complete. */ do_action( 'upgrader_process_complete', $this, array( 'action' => 'install', 'type' => 'plugin', 'bulk' => true, 'plugins' => $plugins, ) ); -
apply_filters( 'cmb2_default_filter', $default, $this ); -
apply_filters_deprecated( "cmb2_validate_{$this->field->type()}", array( null, $this->value, $this->field->object_id, $this->field->args(), $this ), '2.0.0', "cmb2_sanitize_{$this->field->type()}" ); -
apply_filters( 'cmb2_all_or_nothing_types', array( 'select', 'radio', 'radio_inline', 'taxonomy_select', 'taxonomy_radio', 'taxonomy_radio_inline', 'taxonomy_radio_hierarchical', ), $this ); -
apply_filters( 'cmb2_get_metabox_form', $form, $object_id, $cmb ); -
apply_filters( 'cmb2_get_metabox_form_format', $args['form_format'], $object_id, $cmb ); -
apply_filters( 'cmb2_localized_data', $l10n ); -
apply_filters( "cmb2_override_option_get_{$this->key}", 'cmb2_no_override_option_get', $default, $this ); -
apply_filters( "cmb2_override_option_save_{$this->key}", 'cmb2_no_override_option_save', $this->options, $this ); -
apply_filters( 'cmb2_script_dependencies', self::$dependencies ); -
apply_filters( "cmb2_types_esc_{$this->type()}", null, $meta_value, $this->args(), $this ); -
apply_filters( 'oembed_ttl', DAY_IN_SECONDS, '', array(), 0 ); -
apply_filters( 'plugin_locale', get_locale(), 'cmb2' ); -
apply_filters( "tgmpa_{$prefix}plugin_action_links", array_filter( $action_links ), $item['slug'], $item, $this->view_context ); -
do_action_ref_array( 'tgmpa_init', array( $this ) ); -
apply_filters( 'tgmpa_notice_action_links', $action_links ); -
apply_filters( 'tgmpa_notice_rendered_action_links', $action_links ); -
do_action( 'tgmpa_register' ); -
apply_filters( 'tgmpa_show_admin_notice_capability', 'publish_posts' ); -
apply_filters( 'tgmpa_table_columns', $columns ); -
apply_filters( 'tgmpa_table_data_item', $table_data[ $i ], $plugin ); -
apply_filters( 'tgmpa_table_data_items', $this->_gather_plugin_data() ); -
apply_filters( 'the_content', $content );
Generated from Rebel Slider'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: