Parsi Date 6.5.2 has 31 actions and 80 filters, read directly from its source code on Nov 17, 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 Parsi Date fires an action
add_action( 'wp_parsidate_jalali_datepicker_enqueue', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Parsi Date is about to use
add_filter( 'wp_parsidate_brizy_content', function( $value, $post ) {
// 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
-
wp_parsidate_brizy_content
filter/** * Filters the converted Brizy content before it is returned */ apply_filters( 'wp_parsidate_brizy_content', TextProtector::restore( $working, $protected ), $post ); -
dashboard_primary_title
filter/** * Filters the primary link title for the 'WordPress Events and News' dashboard * widget. */ apply_filters( 'dashboard_primary_title', esc_html__( 'ParsiDate', 'wp-parsidate' ) ); -
document_title_separator
filter/** * Filters the separator for the document title. */ apply_filters( 'document_title_separator', $sep ); -
post_link_category
filter/** * Filters the category that gets used in the %category% permalink token. */ apply_filters( 'post_link_category', $cats[0], $cats, $post ); -
the_title
filter/** * This filter is documented in wp-includes/post-template.php */ apply_filters( 'the_title', $ak_post_title->post_title, $ak_post_title->ID ); -
/** * Filters the editor font CSS applied to Brizy's editor chrome */ apply_filters( 'wp_parsidate_brizy_editor_css', $css ); -
wp_parsidate_day_link
filter/** * Filters the day archive permalink. */ apply_filters( 'wp_parsidate_day_link', $dayLink, $jYear, $jMonth, $jDay ); -
/** * Filters post types ignore list */ apply_filters( 'wp_parsidate_posts_types_ignore_list', $ignore, $args ); -
/** * here we pass those fields we want to convert from Persian to English other * developers can hook into this filter and add their fields too */ apply_filters( 'wpp_woocommerce_checkout_persian_fields', $persian_fields ); -
do_action( 'wp_parsidate_jalali_datepicker_enqueue', 'acf-4' ); -
apply_filters( 'wpp_acf_after_load_jalali_date', $value ); -
{$this->id}_logo
filterapply_filters( "{$this->id}_logo", Assets::url( "images/woocommerce/$this->id-logo.png" ) ); -
do_action( 'wp_parsidate_jalali_datepicker_enqueued', $moduleName ); -
apply_filters( "wpp_wc_{$this->id}_gateway_config", array( 'enabled' => array( 'title' => esc_html__( 'Enabled/Disabled', 'wp-parsidate' ), 'type' => 'checkbox', 'label' => sprintf( esc_html__( 'Activate or deactivate %s gateway', 'wp-parsidate' ), $this->gateway_name ), 'default' => 'no' ), 'terminal' => array( 'title' => esc_html__( 'Terminal No.', 'wp-parsidate' ), 'type' => 'text', 'default' => '', 'desc_tip' => false ), 'username' => array(... ); -
apply_filters( "wp_parsidate_{self::tab}_settings_sections", [] ); -
apply_filters( 'wpp_acf_before_update_jalali_date', $value ); -
do_action( "wpp_wc_{$this->id}_gateway_completed_payment", $order, $params ); -
do_action( "wpp_wc_{$this->id}_gateway_failed_payment", $order ); -
acf/create_field
actiondo_action( 'acf/create_field', array( 'type' => 'text', 'name' => 'fields[' . $key . '][placeholder]', 'value' => $field['placeholder'], 'layout' => 'horizontal' ) ); -
disable_months_dropdown
filterapply_filters( 'disable_months_dropdown', false, $postType ); -
widget_title
filterapply_filters( 'widget_title', $instance['title'] ); -
woocommerce_gateway_icon
filterapply_filters( 'woocommerce_gateway_icon', $icon, $this->id ); -
do_action( "wpp_wc_{$this->id}_gateway_process_payment", $order, $refId ); -
apply_filters( "wpp_wc_{$this->id}_gateway_request_payment", array( 'terminalId' => $this->terminal_id, 'userName' => $this->username, 'userPassword' => $this->password, 'orderId' => $order->get_id(), 'amount' => $this->get_amount( $order ), 'localDate' => gmdate( 'Ymd' ), 'localTime' => gmdate( 'His' ), 'additionalData' => $description, 'callBackUrl' => add_query_arg( array( 'wc-api' => $this->get_class(), 'order_id' => $order->get_id() ), get_site_url(... ); -
wc_city_select_cities
filterapply_filters( 'wc_city_select_cities', $cities ); -
apply_filters( "wp_parsidate_{$currentTab}_settings_display_reset_button", true ); -
do_action( "wp_parsidate_{$currentTab}_tab_content" ); -
apply_filters( "wp_parsidate_{$currentTab}_tab_content_display_notice", false ); -
do_action( "wp_parsidate_{$currentTab}_tab_header" ); -
do_action( "wp_parsidate_{$currentTab}_tab_notice" ); -
wp_parsidate_{$tab}_settings
filterapply_filters( "wp_parsidate_{$tab}_settings", [] ); -
apply_filters( "wp_parsidate_{$tab}_tab_display_notice", true ); -
apply_filters( "wp_parsidate_{$this->addonID}_settings_options", $settings ); -
apply_filters( "wp_parsidate_{self::tab}_settings_options", [] ); -
wp_parsidate_addon_cats
filterapply_filters( 'wp_parsidate_addon_cats', array() ); -
wp_parsidate_addons
filterapply_filters( 'wp_parsidate_addons', array() ); -
wp_parsidate_addons_load
actiondo_action( 'wp_parsidate_addons_load' ); -
apply_filters( 'wp_parsidate_addons_page_cat_title', $addonCats[ $cat ], $cat ); -
wp_parsidate_admin_init
actiondo_action( 'wp_parsidate_admin_init', self::getActiveTab() ); -
do_action( 'wp_parsidate_archive_block_end', $title, $postType, $type, $displayCount, $isList, $blockId ); -
do_action( 'wp_parsidate_archive_block_start', $title, $postType, $type, $displayCount, $isList, $blockId ); -
do_action( 'wp_parsidate_archive_widget_end', $title, $postType, $type, $postCount, $isList, $widgetID ); -
do_action( 'wp_parsidate_archive_widget_start', $title, $postType, $type, $postCount, $isList, $widgetID ); -
wp_parsidate_brizy_skip
filterapply_filters( 'wp_parsidate_brizy_skip', false, $post ); -
do_action( 'wp_parsidate_calendar_block_end', $title, $postType, $theme, $blockId ); -
do_action( 'wp_parsidate_calendar_block_start', $title, $postType, $theme, $blockId ); -
do_action( 'wp_parsidate_calendar_widget_end', $title, $postType, $theme, $widgetID ); -
do_action( 'wp_parsidate_calendar_widget_start', $title, $postType, $theme, $widgetID ); -
wp_parsidate_content
actiondo_action( 'wp_parsidate_content', $currentTab ); -
apply_filters( 'wp_parsidate_dashboard_addon_links', [] ); -
apply_filters( 'wp_parsidate_dashboard_custom_links', [] ); -
apply_filters( 'wp_parsidate_display_section_description', false, $currentTab, $currentSection ); -
apply_filters( 'wp_parsidate_display_tab_settings', true, $currentTab ); -
apply_filters( 'wp_parsidate_dual_date_gregorian', $date, $format, $dateTime, $fallbackGregorianDate ); -
apply_filters( 'wp_parsidate_dual_date_separator', ' - ', $format, $dateTime ); -
apply_filters( 'wp_parsidate_elementor_enqueue_front_assets', true ); -
apply_filters( 'wp_parsidate_fix_post_content_numbers', $converted, $content ); -
wp_parsidate_get_setting
filterapply_filters( 'wp_parsidate_get_setting', wp_unslash( $options[ $key ] ?? $default ), $key, $default, $options, $optionsName ); -
wp_parsidate_get_settings
filterapply_filters( 'wp_parsidate_get_settings', $options ?: $default, $optionsName ); -
wp_parsidate_header
actiondo_action( 'wp_parsidate_header', $currentTab ); -
apply_filters( 'wp_parsidate_hook_deactivator_check_disable', false ); -
apply_filters( 'wp_parsidate_hook_deactivator_list', $hooks ); -
apply_filters( 'wp_parsidate_hook_deactivator_raw_list', $rawList ); -
apply_filters( 'wp_parsidate_image_sizes_select_items', Assets::getImageSizes() ); -
wp_parsidate_init
actiondo_action( 'wp_parsidate_init' ); -
apply_filters( 'wp_parsidate_name_of_gregorian_months', $names, $type, $short ); -
apply_filters( 'wp_parsidate_name_of_gregorian_week_days', $names, $type, $short ); -
wp_parsidate_name_of_months
filterapply_filters( 'wp_parsidate_name_of_months', $names, $type ); -
apply_filters( 'wp_parsidate_name_of_week_days', $names, $type ); -
wp_parsidate_notice
actiondo_action( 'wp_parsidate_notice', $currentTab ); -
apply_filters( 'wp_parsidate_save_settings_error_message', esc_html__( 'Error saving settings!', 'wp-parsidate' ), $tab ); -
do_action( 'wp_parsidate_save_settings_success', $tab, $currentSection, $options ); -
apply_filters( 'wp_parsidate_save_settings_success_message', esc_html__( 'Settings saved.', 'wp-parsidate' ), $tab ); -
wp_parsidate_section_content
actiondo_action( 'wp_parsidate_section_content', $currentTab, $currentSection, $currentSettings ); -
apply_filters( 'wp_parsidate_setting_value_before_save', $value, $setting ); -
wp_parsidate_settings
filterapply_filters( 'wp_parsidate_settings', [] ); -
apply_filters( 'wp_parsidate_settings_before_save', $options, $tab ); -
apply_filters( 'wp_parsidate_settings_header_image', $settings['header_image'] ?? '', $currentTab, $currentSection, $settings ); -
apply_filters( 'wp_parsidate_settings_page_refresh_url', null ); -
apply_filters( 'wp_parsidate_settings_page_refreshed_after', 0 ); -
apply_filters( 'wp_parsidate_settings_reset_button_title', esc_html__( 'Discard changes', 'wp-parsidate' ), $currentTab ); -
apply_filters( 'wp_parsidate_settings_submit_button_title', esc_html__( 'Save changes', 'wp-parsidate' ), $currentTab ); -
do_action( 'wp_parsidate_submit_settings_form', $tab ); -
wp_parsidate_template_path
filterapply_filters( 'wp_parsidate_template_path', $path, $template, $dir ); -
apply_filters( 'wp_parsidate_validate_postal_code_checksum', false ); -
apply_filters( 'wp_parsidate_wc_checkout_city_select_cities', $cities ); -
wp_parsidate_wp_admin_notice
filterapply_filters( 'wp_parsidate_wp_admin_notice', [] ); -
apply_filters( 'wpp_acf_after_load_date_field', $field ); -
wpp_acf_after_load_time
filterapply_filters( 'wpp_acf_after_load_time', $value ); -
apply_filters( 'wpp_acf_after_load_time_field', $field ); -
apply_filters( 'wpp_acf_before_jalali_date_render', $value ); -
apply_filters( 'wpp_acf_before_save_date_field', $field ); -
apply_filters( 'wpp_acf_before_save_time_field', $field ); -
wpp_acf_before_time_render
filterapply_filters( 'wpp_acf_before_time_render', $value ); -
wpp_acf_before_update_time
filterapply_filters( 'wpp_acf_before_update_time', $value ); -
wpp_acf_validate_date_value
filterapply_filters( 'wpp_acf_validate_date_value', $valid, $value, $field, $input ); -
wpp_acf_validate_time_value
filterapply_filters( 'wpp_acf_validate_time_value', $valid, $value, $field, $input ); -
apply_filters( 'wpp_arabic_persian_characters_list', $characters ); -
wpp_elementor_css
filterapply_filters( 'wpp_elementor_css', $wpp_elementor_css ); -
apply_filters( 'wpp_get_selected_wc_payment_gateways', $activeGateways ); -
wpp_rank_math_product_price
filterapply_filters( 'wpp_rank_math_product_price', ( $entity['offers']['price'] * 10 ), $entity ); -
apply_filters( 'wpp_rank_math_product_variant_price', ( $variant['offers']['price'] * 10 ), $variant ); -
apply_filters( 'wpp_woocommerce_checkout_modified_persian_fields', $data );
Generated from Parsi Date's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: