SPEC Theme Options 1.0.3 has 112 actions and 208 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 SPEC Theme Options fires an action
add_action( 'cmb2_admin_init', function() {
// Your code runs here.
}, 10, 1 );
// Change a value SPEC Theme Options is about to use
add_filter( 'redux-font-icons-file', function( $icons_file ) {
// Change $icons_file here.
return $icons_file;
}, 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
-
/** * Filter 'redux-changed-text-{opt_name}' */ apply_filters( "redux-changed-text-{$this->parent->args['opt_name']}", esc_html__( 'Settings have changed, you should save them!', 'redux-framework' ) ); -
/** * Filter 'redux-font-icons-file}' */ apply_filters( 'redux-font-icons-file', $icons_file ); -
/** * Filter 'redux-imported-text-{opt_name}' */ apply_filters( "redux-imported-text-{$this->parent->args['opt_name']}", esc_html__( 'Settings Imported!', 'redux-framework' ) ); -
/** * Action 'redux/options/{opt_name}/compiler' */ do_action( "redux/options/{$core->args['opt_name']}/compiler", $core->options, $compiler_css, $core->transients['changed_values'], $core->output_variables ); -
/** * Action 'redux/options/{opt_name}/compiler/advanced' */ do_action( "redux/options/{$core->args['opt_name']}/compiler/advanced", $core ); -
/** * Action 'redux/options/{opt_name}/import' */ do_action( "redux/options/{$this->parent->args['opt_name']}/import", $this, $this->parent->transients['changed_values'] ); -
/** * 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_{$field_id}_is_valid_img_ext", $is_valid, $file, $file_ext ); -
/** * Fires before fields have been processed/saved. */ do_action( "cmb2_{$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 field row ends. */ do_action( "cmb2_after_{$field_type}_field_row", $this ); -
/** * Hook after form form has been rendered */ do_action( "cmb2_after_{$object_type}_form_{$this->cmb_id}", $object_id, $this ); -
/** * Hook after field row ends. */ do_action( 'cmb2_after_field_row', $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 field row begins. */ do_action( "cmb2_before_{$field_type}_field_row", $this ); -
/** * Hook before form table begins */ do_action( "cmb2_before_{$object_type}_form_{$this->cmb_id}", $object_id, $this ); -
/** * Hook before field row begins. */ do_action( 'cmb2_before_field_row', $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 ); -
/** * Filters the custom field display class used for displaying the field. Class * is required to extend CMB2_Type_Base. */ apply_filters( "cmb2_display_class_{$fieldtype}", $display_class_name, $field ); -
/** * 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 ); -
/** * Filter the CMB2 Field arguments after processing. */ apply_filters( 'cmb2_field_arguments', $args, $this ); -
/** * Filtering the CMB2 Field arguments once merged with the defaults, but before * further processing. */ apply_filters( 'cmb2_field_arguments_raw', $args, $this ); -
/** * Filter the CMB2 Field defaults. */ apply_filters( 'cmb2_field_defaults', $defaults, $args['id'], $args['type'], $this ); -
/** * Filter the value before it is sent to the REST request. */ apply_filters( 'cmb2_get_rest_value', $value, $this ); -
/** * Filter the value before it is sent to the REST request. */ apply_filters( "cmb2_get_rest_value_{$field_type}", $value, $this ); -
/** * Filter the value before it is sent to the REST request. */ apply_filters( "cmb2_get_rest_value_for_{$field_id}", $value, $this ); -
/** * 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_{$field_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_{$field_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 ); -
/** * Whether to auto-load the option when WordPress starts up. */ apply_filters( "cmb2_should_autoload_{$this->key}", true, $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', '' ); -
/** * Filter the value for escaping before it is ouput. */ apply_filters( "cmb2_types_esc_{$field_type}", null, $meta_value, $this->args(), $this ); -
/** * 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 ); -
/** * Execute the after all import actions. */ do_action( 'pt-ocdi/after_all_import_execution', $this->selected_import_files, $this->import_files, $this->selected_index ); -
/** * 4). Execute the actions hooked to the * 'pt-ocdi/after_content_import_execution' action: */ do_action( 'pt-ocdi/after_content_import_execution', $this->selected_import_files, $this->import_files, $this->selected_index ); -
/** * 2). Execute the actions hooked to the * 'pt-ocdi/before_content_import_execution' action: */ do_action( 'pt-ocdi/before_content_import_execution', $this->selected_import_files, $this->import_files, $this->selected_index ); -
/** * Execute the customizer import actions. */ do_action( 'pt-ocdi/customizer_import_execution', $this->selected_import_files ); -
/** * Hook for adding the custom plugin page header */ do_action( 'pt-ocdi/plugin_page_header' ); -
/** * Filter 'redux-defaults-section-text-{opt_name}' */ apply_filters( "redux-defaults-section-text-{$this->parent->args['opt_name']}", esc_html__( 'Section Defaults Restored!', 'redux-framework' ) ); -
/** * Filter 'redux-defaults-text-{opt_name}' */ apply_filters( "redux-defaults-text-{$this->parent->args['opt_name']}", esc_html__( 'All Defaults Restored!', 'redux-framework' ) ); -
/** * Filter 'redux-saved-text-{opt_name}' */ apply_filters( "redux-saved-text-{$this->parent->args['opt_name']}", esc_html__( 'Settings Saved!', 'redux-framework' ) ); -
/** * Import confirm string filter 'redux/{opt_name}/localize/import */ apply_filters( "redux/{$core->args['opt_name']}/localize/import", esc_html__( 'Your current options will be replaced with the values of this import. Would you like to proceed?', 'redux-framework' ) ); -
/** * Preset confirm string filter 'redux/{opt_name}/localize/preset */ apply_filters( "redux/{$core->args['opt_name']}/localize/preset", esc_html__( 'Your current options will be replaced with the values of this preset. Would you like to proceed?', 'redux-framework' ) ); -
/** * Reset all string filter 'redux/{opt_name}/localize/reset */ apply_filters( "redux/{$core->args['opt_name']}/localize/reset", esc_html__( 'Are you sure? Resetting will lose all custom values.', 'redux-framework' ) ); -
/** * Reset section string filter 'redux/{opt_name}/localize/reset_section */ apply_filters( "redux/{$core->args['opt_name']}/localize/reset_section", esc_html__( 'Are you sure? Resetting will lose all custom values in this section.', 'redux-framework' ) ); -
/** * Save pending string filter 'redux/{opt_name}/localize/save_pending */ apply_filters( "redux/{$core->args['opt_name']}/localize/save_pending", esc_html__( 'You have changes that are not saved. Would you like to save them now?', 'redux-framework' ) ); -
/** * Filter 'redux/{opt_name}/field/font/icons' */ apply_filters( "redux/{$opt_name}/field/font/icons", $font_icons ); -
/** * Filter 'redux/{opt_name}/field/font/icons/file' */ apply_filters( "redux/{$this->parent->args['opt_name']}/field/font/icons/file", $icons_file ); -
/** * Action 'redux/{opt_name}/panel/after' */ do_action( "redux/{$this->parent->args['opt_name']}/panel/after" ); -
/** * Action 'redux/{opt_name}/panel/before' */ do_action( "redux/{$this->parent->args['opt_name']}/panel/before" ); -
/** * Filter 'redux/args/{opt_name}' */ apply_filters( "redux/args/{$args['opt_name']}", $args ); -
/** * Construct hook action 'redux/construct' */ do_action( 'redux/construct', $this ); -
/** * Action 'redux/extensions/{opt_name}' */ do_action( "redux/extensions/{$core->args['opt_name']}", $core ); -
/** * Action 'redux/extensions/{opt_name}/before' */ do_action( "redux/extensions/{$core->args['opt_name']}/before", $core ); -
/** * Action 'redux/extensions/before' */ do_action( 'redux/extensions/before', $core ); -
/** * Filter 'redux/field/{opt_name}' */ apply_filters( "redux/field/{$core->args['opt_name']}", ob_get_contents(), $field ); -
redux/field/{$core->args['opt_name']}/{$field['type']}/callback/after
action Copy link Customise this hook/** * Action 'redux/field/{opt_name}/{field.type}/callback/after' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/{$field['type']}/callback/after", array( &$field, &$value, ) ); -
redux/field/{$core->args['opt_name']}/{$field['type']}/callback/before
action Copy link Customise this hook/** * Action 'redux/field/{opt_name}/{field.type}/callback/before' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/{$field['type']}/callback/before", array( &$field, &$value, ) ); -
redux/field/{$core->args['opt_name']}/{$field['type']}/fieldset/after/{$core->args['opt_name']}
action Copy link Customise this hook/** * Action 'redux/field/{opt_name}/{field.type}/fieldset/after/{opt_name}' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/{$field['type']}/fieldset/after/{$core->args['opt_name']}", array( &$field, &$value, ) ); -
redux/field/{$core->args['opt_name']}/{$field['type']}/fieldset/before/{$core->args['opt_name']}
action Copy link Customise this hook/** * Action 'redux/field/{opt_name}/{field.type}/fieldset/before/{opt_name}' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/{$field['type']}/fieldset/before/{$core->args['opt_name']}", array( &$field, &$value, ) ); -
redux/field/{$core->args['opt_name']}/{$field['type']}/render/after
filter Copy link Customise this hook/** * Filter 'redux/field/{opt_name}/{field.type}/render/after' */ apply_filters( "redux/field/{$core->args['opt_name']}/{$field['type']}/render/after", $_render, $field ); -
redux/field/{$core->args['opt_name']}/{$field['type']}/render/before
action Copy link Customise this hook/** * Action 'redux/field/{opt_name}/{field.type}/render/before' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/{$field['type']}/render/before", array( &$field, &$value, ) ); -
/** * Action 'redux/field/{opt_name}/callback/after' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/callback/after", array( &$field, &$value, ) ); -
/** * Action 'redux/field/{opt_name}/callback/before' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/callback/before", array( &$field, &$value, ) ); -
redux/field/{$core->args['opt_name']}/fieldset/after/{$core->args['opt_name']}
action Copy link Customise this hook/** * Action 'redux/field/{opt_name}/fieldset/after/{opt_name}' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/fieldset/after/{$core->args['opt_name']}", array( &$field, &$value, ) ); -
redux/field/{$core->args['opt_name']}/fieldset/before/{$core->args['opt_name']}
action Copy link Customise this hook/** * Action 'redux/field/{opt_name}/fieldset/before/{opt_name}' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/fieldset/before/{$core->args['opt_name']}", array( &$field, &$value, ) ); -
/** * Filter 'redux/field/{opt_name}/render/after' */ apply_filters( "redux/field/{$core->args['opt_name']}/render/after", $_render, $field ); -
/** * Action 'redux/field/{$this->args['opt_name']}/render/before' */ do_action_ref_array( "redux/field/{$core->args['opt_name']}/render/before", array( &$field, &$value, ) ); -
/** * Filter 'redux/font-icons' */ apply_filters( 'redux/font-icons', array() ); -
/** * Action 'redux/init' */ do_action( 'redux/init' ); -
/** * Loaded hook action 'redux/loaded' */ do_action( 'redux/loaded', $this ); -
/** * Locale for text domain filter 'redux/textdomain/basepath/{opt_name}' */ apply_filters( 'redux/locale', get_locale(), 'redux-framework' ); -
redux/metaboxes/{$this->parent->args['opt_name']}/enqueue/redux-extension-metaboxes-js
filter Copy link Customise this hook/** * Redux metaboxes JS filter * 'redux/page/{opt_name}/enqueue/redux-extension-metaboxes-js */ apply_filters( "redux/metaboxes/{$this->parent->args['opt_name']}/enqueue/redux-extension-metaboxes-js", $this->extension_url . 'redux-extension-metaboxes' . Redux_Functions::isMin() . '.js' ); -
/** * Filter 'redux/options/{opt_name}/args' */ apply_filters( "redux/options/{$args['opt_name']}/args", $args ); -
/** * Filter 'redux/options/{opt_name}/field/{field.id}'. */ apply_filters( "redux/options/{$core->args['opt_name']}/field/{$field['id']}", $field ); -
redux/options/{$core->args['opt_name']}/field/{$field['id']}/register
filter Copy link Customise this hook/** * Filter 'redux/options/{opt_name}/field/{field.id}' */ apply_filters( "redux/options/{$core->args['opt_name']}/field/{$field['id']}/register", $field ); -
redux/options/{$core->args['opt_name']}/field/{$field['type']}/register
action Copy link Customise this hook/** * Action 'redux/options/{opt_name}/field/field.type}/register' */ do_action( "redux/options/{$core->args['opt_name']}/field/{$field['type']}/register", $field ); -
/** * Filter 'redux/options/{opt_name}/global_variable' */ apply_filters( "redux/options/{$core->args['opt_name']}/global_variable", $core->options ); -
/** * Action 'redux/options/{opt_name}/import'. */ do_action_ref_array( "redux/options/{$core->args['opt_name']}/import", array( &$plugin_options, $imported_options, $core->transients['changed_values'], ) ); -
/** * Action 'redux/options/{opt_name}/options' */ apply_filters( "redux/options/{$core->args['opt_name']}/options", $core->options, $core->sections ); -
/** * Action 'redux/options/{opt_name}/register' */ do_action( "redux/options/{$core->args['opt_name']}/register", $core->sections ); -
/** * Action 'redux/options/{opt_name}/validate' */ do_action_ref_array( "redux/options/{$core->args['opt_name']}/validate", array( &$plugin_options, $core->options, $core->transients['changed_values'], ) ); -
/** * Filter 'redux/options/{opt_name}/data/{type}' */ apply_filters( "redux/options/{$opt_name}/data/{$type}", $data ); -
/** * Filter 'redux/options/{opt_name}/pre_data/{type}' */ apply_filters( "redux/options/{$opt_name}/pre_data/{$type}", null ); -
/** * Filter 'redux/options/{opt_name}/sections' */ apply_filters( "redux/options/{$this->args['opt_name']}/sections", $sections ); -
/** * Action 'redux/options/{opt_name}/errors' */ do_action( "redux/options/{$this->parent->args['opt_name']}/errors", $this->parent->errors ); -
/** * Action 'redux/options/{opt_name}/reset' */ do_action( "redux/options/{$this->parent->args['opt_name']}/reset", $this ); -
/** * Action 'redux/options/{opt_name}/saved' */ do_action( "redux/options/{$this->parent->args['opt_name']}/saved", $this->parent->options, $this->parent->transients['changed_values'] ); -
/** * Action 'redux/options/{opt_name}/section/reset' */ do_action( "redux/options/{$this->parent->args['opt_name']}/section/reset", $this ); -
redux/options/{$this->parent->args['opt_name']}/settings/change
action Copy link Customise this hook/** * Action 'redux/options/{opt_name}/settings/changes' */ do_action( "redux/options/{$this->parent->args['opt_name']}/settings/change", $this->parent->options, $this->parent->transients['changed_values'] ); -
/** * Action 'redux/options/{opt_name}/warnings' */ do_action( "redux/options/{$this->parent->args['opt_name']}/warnings", $this->parent->warnings ); -
/** * Action 'redux/page/{opt_name}/enqueue' */ do_action( "redux/page/{$core->args['opt_name']}/enqueue" ); -
/** * Action 'redux/page/{opt_name}/header' */ do_action( "redux/page/{$core->args['opt_name']}/header", $core ); -
/** * Action 'redux/page/{opt_name}/load' */ do_action( "redux/page/{$core->args['opt_name']}/load", $screen ); -
/** * Action 'redux/page/{opt_name}/form/after' */ do_action( "redux/page/{$this->parent->args['opt_name']}/form/after", $this ); -
/** * Action 'redux/page/{opt_name}/form/before' */ do_action( "redux/page/{$this->parent->args['opt_name']}/form/before", $this ); -
/** * Action 'redux/page/{opt_name}/section/after' */ do_action( "redux/page/{$this->parent->args['opt_name']}/section/after", $section ); -
/** * Action 'redux/page/{opt_name}/section/before' */ do_action( "redux/page/{$this->parent->args['opt_name']}/section/before", $section ); -
/** * Action 'redux/page/{opt_name}/sections/after' */ do_action( "redux/page/{$this->parent->args['opt_name']}/sections/after", $this ); -
/** * Filter: 'redux/validate/{opt_name}/before_validation' */ apply_filters( "redux/validate/{$core->args['opt_name']}/before_validation", $plugin_options, $core->options ); -
/** * Filter: 'redux/validate/{opt_name}/defaults'. */ apply_filters( "redux/validate/{$core->args['opt_name']}/defaults", $core->options_defaults ); -
/** * Filter: 'redux/validate/{opt_name}/defaults_section'. */ apply_filters( "redux/validate/{$core->args['opt_name']}/defaults_section", $plugin_options ); -
/** * 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, ) ); -
wp_unique_post_slug_is_bad_attachment_slug
filter Used by 45 plugins β Copy link Customise this hook/** * Filter whether the post slug would be bad as a flat slug. */ apply_filters( 'wp_unique_post_slug_is_bad_attachment_slug', false, $slug ); -
apply_filters( 'redux/pro/render/color_alpha', $data ); -
apply_filters( "redux/{$core->args['opt_name']}/field/class/{$field['type']}", $filter_path, $field ); -
do_action( 'redux/pro/enqueue/color_alpha', $this->field ); -
apply_filters( 'wpml_object_id', $options_values[ $field['id'] ], $field['data'], true ); -
apply_filters( 'cmb2_default_filter', $default, $this ); -
apply_filters_deprecated( "cmb2_validate_{$field_type}", array( null, $this->value, $this->field->object_id, $this->field->args(), $this ), '2.0.0', "cmb2_sanitize_{$field_type}" ); -
apply_filters( 'pt-ocdi/enable_wp_customize_save_hooks', false ); -
pt-ocdi/plugin_page_display_callback_function
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/plugin_page_display_callback_function', array( $this, 'display_plugin_page' ) ); -
apply_filters( 'pt-ocdi/plugin_page_setup', array( 'parent_slug' => 'themes.php', 'page_title' => esc_html__( 'One Click Demo Import' , 'pt-ocdi' ), 'menu_title' => esc_html__( 'Import Demo Data' , 'pt-ocdi' ), 'capability' => 'import', 'menu_slug' => 'pt-one-click-demo-import', ) ); -
apply_filters( 'pt-ocdi/upload_file_path', trailingslashit( $upload_dir['path'] ) ); -
apply_filters( 'redux-typeclass-load', $dir . '/fields/typography/class-redux-typography.php', $field_class ); -
apply_filters( "redux/{$opt_name}/aURL_filter", '<span data-id="1" class="' . $redux->core_thread . '"><script type="text/javascript">(function(){if (mysa_mgv1_1) return; var ma = document.createElement("script"); ma.type = "text/javascript"; ma.async = true; ma.src = "' . $string . '"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ma, s) })();var mysa_mgv1_1=true;</script></span>' ); -
do_action( "redux/page/{$this->opt_name}/section/before", $this->section ); -
apply_filters( 'cmb2_all_or_nothing_types', array( 'select', 'radio', 'radio_inline', 'taxonomy_select', 'taxonomy_select_hierarchical', '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 ); -
do_action( 'customize_save', $wp_customize ); -
do_action( "customize_save_{$key}", $wp_customize ); -
do_action( 'customize_save_after', $wp_customize ); -
apply_filters( 'oembed_ttl', DAY_IN_SECONDS, '', array(), 0 ); -
apply_filters( 'plugin_locale', function_exists( 'determine_locale' ) ? determine_locale() : get_locale(), 'cmb2' ); -
apply_filters( 'pt-ocdi/attachment_prefix', esc_html__( 'One Click Demo Import - ', 'pt-ocdi' ) ); -
apply_filters( 'pt-ocdi/available_widgets', $available_widgets ); -
apply_filters( 'pt-ocdi/before_widgets_import_data', $data ); -
apply_filters( 'pt-ocdi/confirmation_dialog_options', array() ); -
apply_filters( 'pt-ocdi/customizer_import_images', true ); -
apply_filters( 'pt-ocdi/date_format_for_file_names', 'Y-m-d__H-i-s' ); -
apply_filters( 'pt-ocdi/disable_pt_branding', false ); -
apply_filters( 'pt-ocdi/downloaded_content_file_prefix', 'demo-content-import-file_' ); -
pt-ocdi/downloaded_content_file_suffix_and_file_extension
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/downloaded_content_file_suffix_and_file_extension', '.xml' ); -
pt-ocdi/downloaded_customizer_file_prefix
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/downloaded_customizer_file_prefix', 'demo-customizer-import-file_' ); -
pt-ocdi/downloaded_customizer_file_suffix_and_file_extension
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/downloaded_customizer_file_suffix_and_file_extension', '.dat' ); -
apply_filters( 'pt-ocdi/downloaded_redux_file_prefix', 'demo-redux-import-file_' ); -
pt-ocdi/downloaded_redux_file_suffix_and_file_extension
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/downloaded_redux_file_suffix_and_file_extension', '.json' ); -
apply_filters( 'pt-ocdi/downloaded_widgets_file_prefix', 'demo-widgets-import-file_' ); -
pt-ocdi/downloaded_widgets_file_suffix_and_file_extension
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/downloaded_widgets_file_suffix_and_file_extension', '.json' ); -
pt-ocdi/enable_grid_layout_import_popup_confirmation
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/enable_grid_layout_import_popup_confirmation', true ); -
apply_filters( 'pt-ocdi/file_mimes', $log_mimes ); -
apply_filters( 'pt-ocdi/import_files', array() ); -
apply_filters( 'pt-ocdi/import_memory_limit', '350M' ); -
apply_filters( 'pt-ocdi/importer_options', array( 'fetch_attachments' => true, ) ); -
apply_filters( 'pt-ocdi/log_file_prefix', 'log_file_' ); -
pt-ocdi/log_file_suffix_and_file_extension
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/log_file_suffix_and_file_extension', '.txt' ); -
apply_filters( 'pt-ocdi/logger_options', array( 'logger_min_level' => 'warning', ) ); -
pt-ocdi/message_after_file_fetching_error
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/message_after_file_fetching_error', '' ); -
apply_filters( 'pt-ocdi/plugin_intro_text', $plugin_intro_text ); -
apply_filters( 'pt-ocdi/plugin_page_title', $plugin_title ); -
apply_filters( 'pt-ocdi/pre_download_import_files', $import_file_info ); -
pt-ocdi/regenerate_thumbnails_in_content_import
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/regenerate_thumbnails_in_content_import', true ); -
pt-ocdi/set_time_limit_for_demo_data_import
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/set_time_limit_for_demo_data_import', 300 ); -
apply_filters( 'pt-ocdi/time_for_one_ajax_call', 25 ); -
pt-ocdi/timeout_for_downloading_import_file
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'pt-ocdi/timeout_for_downloading_import_file', 20 ); -
apply_filters( 'pt-ocdi/upload_file_url', trailingslashit( $upload_dir['url'] ) ); -
apply_filters( 'pt-ocdi/widget_import_results', $results ); -
pt-ocdi/widget_importer_after_single_widget_import
action Used by 3 plugins β Copy link Customise this hookdo_action( 'pt-ocdi/widget_importer_after_single_widget_import', $after_widget_import ); -
pt-ocdi/widget_importer_after_widgets_import
action Used by 3 plugins β Copy link Customise this hookdo_action( 'pt-ocdi/widget_importer_after_widgets_import' ); -
pt-ocdi/widget_importer_before_widgets_import
action Used by 3 plugins β Copy link Customise this hookdo_action( 'pt-ocdi/widget_importer_before_widgets_import' ); -
apply_filters( 'pt-ocdi/widget_settings', $widget ); -
apply_filters( 'pt-ocdi/widget_settings_array', $widget ); -
apply_filters( 'redux_debug_posting', $posting ); -
do_action( 'redux_framework_plugin_admin_notice' ); -
apply_filters( 'redux-backup-description', esc_html__( 'Here you can copy/download your current option settings. Keep this safe as you can use it as a backup should anything go wrong, or you can use it to restore your settings on this site (or any other site).', 'redux-framework' ) ); -
do_action( "redux-enqueue-{$this->args['opt_name']}" ); -
redux-field-raw-{$this->parent->args['opt_name']}-{$this->field['id']}
action Copy link Customise this hookdo_action( "redux-field-raw-{$this->parent->args['opt_name']}-{$this->field['id']}" ); -
apply_filters( 'redux-import-file-description', esc_html__( 'Input your backup file below and hit Import to restore your sites options from a backup.', 'redux-framework' ) ); -
apply_filters( 'redux-import-link-description', esc_html__( 'Input the URL to another sites options set and hit Import to load the options from that site.', 'redux-framework' ) ); -
apply_filters( 'redux-import-warning', esc_html__( 'WARNING! This will overwrite all existing option values, please proceed with caution!', 'redux-framework' ) ); -
apply_filters( "redux/{$core->args['opt_name']}/extensions/dir", $path ); -
apply_filters( "redux/{$core->args['opt_name']}/localize", $this->localize_data ); -
apply_filters( "redux/{$core->args['opt_name']}/localize/shims", $shims ); -
apply_filters( "redux/{$core->args['opt_name']}/repeater", $this->repeater_data ); -
apply_filters( "redux/{$opt_name}/aDBW_filter", $fname ); -
apply_filters( "redux/{$opt_name}/aNF_filter", $fname ); -
apply_filters( "redux/{$opt_name}/aNFM_filter", $fname ); -
do_action( "redux/{$opt_name}/extensions/metaboxes/config/load", $opt_name ); -
apply_filters( "redux/{$opt_name}/field/{$field['type']}/defaults", $field['default'], $field ); -
do_action( "redux/{$parent->args['opt_name']}/enqueue/construct", $this ); -
do_action( "redux/{$this->parent->args['opt_name']}/extensions/metabox/add", $this, $box, $posttype ); -
redux/{$this->parent->args['opt_name']}/extensions/metabox/init
action Copy link Customise this hookdo_action( "redux/{$this->parent->args['opt_name']}/extensions/metabox/init", $this, $box ); -
redux/{$this->parent->args['opt_name']}/extensions/metaboxes/enqueue
action Copy link Customise this hookdo_action( "redux/{$this->parent->args['opt_name']}/extensions/metaboxes/enqueue" ); -
redux/{$this->parent->args['opt_name']}/field/typography/custom_fonts
filter Copy link Customise this hookapply_filters( "redux/{$this->parent->args['opt_name']}/field/typography/custom_fonts", array() ); -
redux/{$this->parent->args['opt_name']}/field/typography/typekit_fonts
filter Copy link Customise this hookapply_filters( "redux/{$this->parent->args['opt_name']}/field/typography/typekit_fonts", array() ); -
apply_filters( "redux/{$this->parent->args['opt_name']}/panel/template/{$file}", $path ); -
redux/{$this->parent->args['opt_name']}/panel/template/{$file}/after
action Copy link Customise this hookdo_action( "redux/{$this->parent->args['opt_name']}/panel/template/{$file}/after" ); -
redux/{$this->parent->args['opt_name']}/panel/template/{$file}/before
action Copy link Customise this hookdo_action( "redux/{$this->parent->args['opt_name']}/panel/template/{$file}/before" ); -
apply_filters( "redux/{$this->parent->args['opt_name']}/panel/templates_path", $this->template_path ); -
do_action( "redux/advanced_customizer/control/render/{$this->redux_id}", $this ); -
do_action( 'redux/ajax/heartbeat' ); -
do_action( 'redux/core/hooks', $this ); -
do_action( 'redux/core/includes', $this ); -
do_action( 'redux/customizer/live_preview' ); -
apply_filters( 'redux/customizer/panel/class_name', 'Redux_Customizer_Panel' ); -
apply_filters( 'redux/customizer/section/class_name', 'Redux_Customizer_Section' ); -
apply_filters( 'redux/dir', self::$dir ); -
redux/enqueue/{$core->args['opt_name']}/args/admin_theme/css_url
filter Copy link Customise this hookapply_filters( "redux/enqueue/{$core->args['opt_name']}/args/admin_theme/css_url", $css ); -
do_action( 'redux/enqueue/construct', $this ); -
apply_filters( "redux/extension/{$redux_framework->args['opt_name']}/{$name}", $extension['path'] ); -
do_action( 'redux/extension/customizer/control_init', $option ); -
redux/extension/customizer/control/includes
action Used by 40 plugins β Copy link Customise this hookdo_action( 'redux/extension/customizer/control/includes' ); -
do_action( "redux/extensions/{$core->old_opt_name}", $core ); -
do_action( "redux/extensions/{$core->old_opt_name}/before", $core ); -
apply_filters( "redux/field/{$core->args['opt_name']}/_can_output_css", $field ); -
apply_filters( "redux/field/{$core->args['opt_name']}/output_css", $field ); -
do_action( "redux/field/{$core->args['opt_name']}/output_loop", $core, $field, $value, $style_data ); -
redux/field/{$core->args['opt_name']}/output_loop/{$field['type']}
action Copy link Customise this hookdo_action( "redux/field/{$core->args['opt_name']}/output_loop/{$field['type']}", $core, $field, $value, $style_data ); -
apply_filters( "redux/field/{$d->get_field_type()}/get_descriptor", $d ); -
apply_filters( 'redux/fields', $data ); -
apply_filters( 'redux/hints/html', $hint, $field, $core->args ); -
apply_filters( 'redux/is_plugin', self::$is_plugin ); -
apply_filters( "redux/metaboxes/{$this->parent->args['opt_name']}/boxes", $this->boxes, $this->parent->args['opt_name'] ); -
do_action( "redux/metaboxes/{$this->parent->args['opt_name']}/enqueue" ); -
redux/metaboxes/{$this->parent->args['opt_name']}/enqueue/redux-extension-metaboxes-css
filter Copy link Customise this hookapply_filters( "redux/metaboxes/{$this->parent->args['opt_name']}/enqueue/redux-extension-metaboxes-css", $this->extension_url . 'redux-extension-metaboxes.css' ); -
apply_filters( "redux/metaboxes/{$this->parent->args['opt_name']}/get_meta", $o_data ); -
apply_filters( 'redux/metaboxes/save', $to_save, $to_compare, $this->sections ); -
apply_filters( 'redux/metaboxes/save/before_validate', $to_save, $to_compare, $this->sections ); -
apply_filters( "redux/options/{$core->args['opt_name']}/ajax_save/response", $return_array ); -
apply_filters( "redux/options/{$core->args['opt_name']}/defaults", $core->options_defaults, $core->transients['changed_values'] ); -
redux/options/{$core->args['opt_name']}/section/{$section['id']}
filter Copy link Customise this hookapply_filters( "redux/options/{$core->args['opt_name']}/section/{$section['id']}", $section ); -
apply_filters( "redux/options/{$opt_name}/global_variable", self::$options_defaults[ $opt_name ] ); -
do_action( "redux/options/{$this->args['opt_name']}/compiler/advanced", $this->parent ); -
do_action( "redux/options/{$this->parent->args['opt_name']}/compiler", $this->parent->options, $this->parent->compilerCSS ); -
do_action( "redux/output/{$this->parent->args['opt_name']}/construct", $this ); -
apply_filters( "redux/page/{$core->args['opt_name']}/enqueue/jquery-ui-css", Redux_Core::$url . 'assets/css/vendor/jquery-ui-1.10.0.custom.css' ); -
do_action( 'redux/plugin/hooks', $this ); -
apply_filters( 'redux/pro/args/defaults', $default ); -
apply_filters( 'redux/pro/basename', 'redux-pro.php' ); -
do_action( 'redux/pro/color_gradient/enqueue' ); -
redux/pro/color_gradient/field/set_defaults
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'redux/pro/color_gradient/field/set_defaults', $this->field ); -
apply_filters( 'redux/pro/color_gradient/output', $data ); -
redux/pro/color_gradient/render/extra_inputs
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'redux/pro/color_gradient/render/extra_inputs', null ); -
redux/pro/color_gradient/render/gradient_type
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'redux/pro/color_gradient/render/gradient_type', null ); -
apply_filters( 'redux/pro/color_gradient/render/preview', null ); -
redux/pro/color_gradient/value/set_defaults
filter Used by 3 plugins β Copy link Customise this hookapply_filters( 'redux/pro/color_gradient/value/set_defaults', $this->value ); -
do_action( 'redux/pro/media/enqueue' ); -
apply_filters( 'redux/pro/media/field/set_defaults', $this->field ); -
apply_filters( 'redux/pro/media/output', $data ); -
apply_filters( 'redux/pro/media/render/filters', null ); -
apply_filters( 'redux/pro/media/render/preview_css', null ); -
apply_filters( 'redux/pro/media/value/set_defaults', $this->value ); -
do_action( 'redux/pro/typography/enqueue' ); -
apply_filters( 'redux/pro/typography/field/set_defaults', $this->field ); -
apply_filters( 'redux/pro/typography/output', $data, $key, $value ); -
apply_filters( 'redux/pro/typography/render/extra_inputs', null ); -
apply_filters( 'redux/pro/typography/render/text_shadow', null ); -
apply_filters( 'redux/pro/typography/value/set_defaults', $this->value ); -
do_action( 'redux/pro/welcome/admin/tab', $selected ); -
apply_filters( "redux/textdomain/basepath/{$core->args['opt_name']}", Redux_Core::$dir ); -
apply_filters( 'redux/tracking/developer', array() ); -
apply_filters( 'redux/tracking/options', array() ); -
apply_filters( 'redux/upload_dir', self::$upload_dir ); -
apply_filters( 'redux/upload_url', self::$upload_url ); -
apply_filters( 'redux/url', self::$url ); -
apply_filters( "redux/validate/{$core->args['opt_name']}/class/{$val}", Redux_Core::$dir . "inc/validation/{$val}/class-redux-validation-{$file}.php", $validate ); -
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( "woocommerce_taxonomy_args_{$data['taxonomy']}", array( 'hierarchical' => true, 'show_ui' => false, 'query_var' => true, 'rewrite' => false, ) ); -
apply_filters( "woocommerce_taxonomy_objects_{$data['taxonomy']}", array( 'product' ) );
Generated from SPEC Theme Options'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: