Simple Revision Control 2.2.5 has 5 actions and 23 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 Simple Revision Control fires an action
add_action( 'iworks/options/show_page/build_options/after', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Simple Revision Control is about to use
add_filter( 'iworks_rate_set_custom_time', function( $time ) {
// Change $time here.
return $time;
}, 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
-
/** * add extra options, maybe dynamic? */ apply_filters( "{$filter_name}_data", $radio_options, $option ); -
/** * change time by filter */ apply_filters( 'iworks_rate_set_custom_time', time() ); -
/** * Change plugin data. */ apply_filters( 'iworks_rate_plugin_data', $plugin ); -
/** * Allow to add code before a content of the TH HTML tag. */ apply_filters( "iworks/options/filter/th/begin/{$option_name}", '', $option ); -
/** * Allow to add code after a content of the TH HTML tag. */ apply_filters( "iworks/options/filter/th/end/{$option_name}", '', $option ); -
/** * Allow to add code before the TR HTML tag. */ apply_filters( "iworks/options/filter/tr/after/{$option_name}", '', $option ); -
/** * Allow to add code before the TR HTML tag. */ apply_filters( "iworks/options/filter/tr/before/{$option_name}", '', $option ); -
iworks/options/show_page/build_options/after
action Used by 13 plugins → Copy link Customise this hook/** * Hook after build options */ do_action( 'iworks/options/show_page/build_options/after', $this->get_option_function_name() ); -
/** * Hook after form */ do_action( 'iworks/options/show_page/form/after', $this->get_option_function_name() ); -
/** * Hook before form */ do_action( 'iworks/options/show_page/form/before', $this->get_option_function_name() ); -
iworks/options/show_page/settings_fields/before
action Used by 13 plugins → Copy link Customise this hook/** * Hook before settings fields */ do_action( 'iworks/options/show_page/settings_fields/before', $this->get_option_function_name() ); -
/** * Allow to add code before a content of the TD HTML tag. */ apply_filters( "iworks/options/td/begin/{$option_name}", '', $option ); -
/** * Allow to add code after a content of the TD HTML tag. */ apply_filters( "iworks/options/td/end/{$option_name}", '', $option ); -
apply_filters( 'iworks_options_callback', $callback, $data, $this->options ); -
apply_filters( 'iworks_options_capability', 'manage_options', 'settings' ); -
apply_filters( 'iworks/simple-revision-control/delete', 'revision' === get_post_type( $ID ), $ID ); -
apply_filters( "{$filter_name}_content", null, $radio_options, $html_element_name, $option_name, $option_value ); -
apply_filters( "iworks_options_{$option_name}_content", $select, $option['options'], $html_element_name, $option_name, $option_value ); -
apply_filters( 'iworks_options_icon_url', $data['icon_url'], $data ); -
apply_filters( 'iworks_options_nonce_name', 'iworks_options' ); -
apply_filters( 'iworks_plugin_get_options', $options, 'simple-revision-control' ); -
apply_filters( 'iworks_rate_assistance', '', 'simple-revision-control' ); -
apply_filters( 'iworks_rate_love', '', 'simple-revision-control' ); -
apply_filters( 'iworks_rate_notice_logo_style', '', $plugin ); -
apply_filters( "iworks_rate_settings_page_url_{$slug}", null ); -
do_action( 'iworks-register-plugin', plugin_basename( __FILE__ ), __( 'Simple Revision Control', 'simple-revision-control' ), 'simple-revision-control' ); -
apply_filters( 'iworks/options/wp_kses_allowed_html', wp_parse_args( $tags, wp_kses_allowed_html( 'post' ) ) ); -
apply_filters( 'simple_revision_control_capability', 'manage_options' );
Generated from Simple Revision Control'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: