VikAppointments Services Booking Calendar 1.2.23 has 15 actions and 24 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 VikAppointments Services Booking Calendar fires an action
add_action( 'vik_plugin_before_load_language', function( $extension, $basePath, $lang ) {
// Your code runs here.
}, 10, 3 );
// Change a value VikAppointments Services Booking Calendar is about to use
add_filter( 'vikappointments_fetch_rss_channels', function( $value, $arg2 ) {
// 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
-
/** * Hook used to manipulate the RSS channels to which the plugin is subscribed. */ apply_filters( 'vikappointments_fetch_rss_channels', array(), true ); -
/** * Apply filters to manipulate the post data and the headers at runtime. */ apply_filters_ref_array( 'vikappointments_license_before_post', array($data, &$headers, 'validate') ); -
{strtolower($this->prefix)}_after_display_{strtolower($action)}
action Copy link Customise this hook/** * Fires after the controller displayed the view. */ do_action( "{strtolower($this->prefix)}_after_display_{strtolower($action)}", array($view) ); -
{strtolower($this->prefix)}_before_display_{strtolower($action)}
action Copy link Customise this hook/** * Fires before the controller displays the view. */ do_action_ref_array( "{strtolower($this->prefix)}_before_display_{strtolower($action)}", array(&$view) ); -
/** * Hook used to filter the list of all the supported drivers. Every plugin * attached to this filter will be able to push one or more gateways within the * $drivers array. */ apply_filters( "get_supported_payments_{$plugin}", $drivers ); -
/** * Hook used to filter the list of all the supported drivers. Every plugin * attached to this filter will be able to push one or more drivers within the * $drivers array. */ apply_filters( "get_supported_sms_drivers_{$plugin}", $drivers ); -
/** * Trigger action to obtain a list of classnames of the payment gateway. The * action should autoload the file that contains the classname. In case the * payment should be loaded, the classname MUST be pushed within the &$drivers * array. Fires before the instantiation of the returned classname. */ do_action_ref_array( "load_payment_gateway_{$plugin}", array(&$drivers, $payment) ); -
/** * Trigger action to obtain a list of classnames of the sms driver. The action * should autoload the file that contains the classname. In case the sms driver * should be loaded, the classname MUST be pushed within the &$drivers array. * Fires before the instantiation of the returned classname. */ do_action_ref_array( "load_sms_driver_{$plugin}", array(&$drivers, $driver) ); -
/** * Plugins can manipulate the configuration form of the driver. Fires after * generating the config form. */ do_action_ref_array( "sms_driver_after_admin_params_{$this->caller}", array(&$this, &$config) ); -
/** * Plugins can manipulate the resulting credit. Fires after estimating the user * credit. */ do_action_ref_array( "sms_driver_after_estimate_{$this->caller}", array(&$this, &$credit) ); -
/** * Plugins can manipulate the response object to return. By filling the * &$response variable, this method will return it instead of the default * &$status one. Fires after dispatching the sms. */ do_action_ref_array( "sms_driver_after_send_{$this->caller}", array(&$this, &$status, &$response) ); -
/** * Plugins can manipulate the properties of this object. Fires before the * configuration array is generated. */ do_action( "sms_driver_before_admin_params_{$this->caller}", array(&$this) ); -
/** * Plugins can manipulate the properties of this object. Fires before * estimating the remaining credit. */ do_action( "sms_driver_before_estimate_{$this->caller}", array(&$this, &$phone, &$text) ); -
/** * Plugins can manipulate the properties of this object. Fires before sending * the SMS. */ do_action( "sms_driver_before_send_{$this->caller}", array(&$this, &$phone, &$text) ); -
/** * Use filter to approve/deny the loading of the given script. */ apply_filters( 'vik_before_include_script', true, $url, $id, $version, $footer ); -
/** * Use filter to approve/deny the loading of the given stylesheet. */ apply_filters( 'vik_before_include_style', true, $url, $id, $version ); -
/** * Plugins can use this hook to change at runtime the action to use while * creating/validating a WordPress nonce. */ apply_filters( 'vik_csrf_token_action', $action ); -
/** * Plugins can use this hook to change the default behavior used to validate * the CSRF tokens. */ apply_filters( 'vik_csrf_token_check', null ); -
/** * Plugins can use this hook to change at runtime the name to use while * creating/validating a WordPress nonce. */ apply_filters( 'vik_csrf_token_name', 'vikwp_nonce' ); -
/** * Hook used to set a default timezone, instead of using the one defined by the * server. */ apply_filters( 'vik_date_default_timezone', self::$default ); -
/** * Hook used to show/hide database errors. In case errors are suppressed, this * hook would result useless. */ apply_filters( 'vik_db_show_errors', true ); -
/** * Hook used to suppress/enable database errors. */ apply_filters( 'vik_db_suppress_errors', false ); -
/** * Hook used to filter the default WP database prefix before it is used. */ apply_filters( 'vik_get_db_prefix', $this->db->prefix ); -
/** * Action triggered before loading the text domain. */ do_action( 'vik_plugin_before_load_language', $extension, $basePath, $lang ); -
/** * Hook used to load plugin translations from different folders. */ apply_filters( 'vik_plugin_load_language', $loaded, $extension ); -
/** * Trigger action to perform the specified ReCAPTCHA event. */ do_action_ref_array( "vik_recaptcha_{strtolower($event)}", array(&$response, $options) ); -
/** * Trigger action to check whether the ReCAPTCHA plugin is supported. */ apply_filters( 'vik_recaptcha_on', false, null ); -
/** * Plugins can manipulate here the fetched HTML of the widget. Fires before * displaying the HTML of the widget in the front-end. */ do_action_ref_array( 'vik_widget_after_dispatch_site', array($this->_id, &$html) ); -
/** * Plugins can manipulate the configuration of the widget at runtime. Fires * before dispatching the widget in the front-end. */ do_action_ref_array( 'vik_widget_before_dispatch_site', array($this->_id, &$params) ); -
/** * Hook used to apply some stuff before returning the RSS reader. */ do_action_ref_array( 'vikappointments_before_use_rss', array(&$rss) ); -
/** * Hook used to fetch the site pre-processing flag. When this flag is enabled, * the plugin will try to dispatch the site controller within the "init" * action. This is made by fetching the shortcode assigned to the current URI. */ apply_filters( 'vikappointments_site_preprocess', VIKAPPOINTMENTS_SITE_PREPROCESS ); -
/** * This hook can be used to determine at runtime whether we should display a * preview of the widget for a block editor. */ apply_filters( 'vikwp_widget_block_preview', $isPreview ); -
/** * Filters the HTTP headers before they're sent to the browser. */ apply_filters( 'wp_headers', $headers, $wp ); -
/** * Attempt to load the default language from WPML configuration. */ apply_filters( 'wpml_active_languages', [] ); -
/** * Added support to WPML, since it is unable to properly obtain the correct * permalink depending the requested language tag. */ apply_filters( 'wpml_post_language_details', null, $post_id ); -
apply_filters( 'widget_title', $config['title'] ); -
apply_filters( 'wpml_default_language', '' ); -
apply_filters( 'wpml_permalink', get_permalink($post_id), $wpml_post_lang['language_code'] );
Generated from VikAppointments Services Booking Calendar'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: