Patrons Tips 1.1.3 has 114 actions and 291 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 Patrons Tips fires an action
add_action( 'add_meta_boxes', function( $arg1, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value Patrons Tips is about to use
add_filter( 'patips_patron_export_item', function( $merge, $patron, $user, $args ) {
// Change $merge here.
return $merge;
}, 10, 4 );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
-
/** * Third parties can add or change columns content, but do your best to * optimize your process */ apply_filters( 'patips_patron_export_item', array_merge( $patron_data, $history_entry_data ), $patron, $user, $args ); -
/** * Third parties can add or change rows and columns, but do your best to * optimize your process */ apply_filters( 'patips_patron_export_items', $patron_items, $patrons, $users, $args ); -
/** * Columns of the patron list table You must use * 'patips_patron_list_table_column_order' php filter to order your custom * columns. You must use 'patips_patron_list_table_default_hidden_columns' php * filter to hide your custom columns by default. You must use * 'patips_patron_list_table_item' or 'patips_patron_list_table_items' php * filter to fill your custom columns. */ apply_filters( 'patips_patron_list_table_column_names', $columns ); -
/** * Columns order of the patron list table Order the columns given by the filter * 'patips_patron_list_table_columns' */ apply_filters( 'patips_patron_list_table_column_order', $column_order ); -
/** * Columns of the tier list You must use 'patips_tier_list_table_column_order' * php filter to order your custom columns. You must use * 'patips_tier_list_table_default_hidden_columns' php filter to hide your * custom columns by default. You must use 'patips_tier_list_table_item' or * 'patips_tier_list_table_items' php filter to fill your custom columns. */ apply_filters( 'patips_tier_list_table_column_names', $columns ); -
/** * Columns order of the tier list Order the columns given by the filter * 'patips_tier_list_table_columns' */ apply_filters( 'patips_tier_list_table_column_order', $column_order ); -
apply_filters( 'patips_translate_text_external', $product[ 'title' ], false, true, array( 'domain' => 'woocommerce', 'object_type' => 'product', 'object_id' => $product_id, 'field' => 'post_title' ) ); -
apply_filters( 'widget_title', ! empty( $instance[ 'title' ] ) ? $instance[ 'title' ] : $default_title, $instance, $this->id_base ); -
apply_filters( 'patips_patron_nb', count( $patrons ), $patrons, $args, $filters, $_POST ); -
apply_filters( 'patips_period_income_total', patips_get_total_income_based_on_patrons_history( $patrons, $args[ 'include_manual' ] ), $patrons, $args, $filters, $_POST ); -
do_action( 'add_meta_boxes', 'patrons-tips_page_patips_patrons', null ); -
apply_filters( 'patips_patron_data', $patron, $patron_raw_data, $patron_id, $history_filters, $raw ); -
do_action( 'patips_patron_export_dialog_after' ); -
apply_filters( 'patips_translate_text', $tier_data[ 'title' ], '', true, array( 'string_name' => 'Tier #' . $tier_data[ 'id' ] . ' - title' ) ); -
apply_filters( 'plugin_locale', $locale, 'patrons-tips' ); -
apply_filters( 'wpml_active_languages', array() ); -
apply_filters( 'wpml_object_id', intval( $args[ 'object_id' ] ), $args[ 'object_type' ], false, $lang ); -
do_action( 'wpml_register_single_string', $string_domain, $string_name, $string_value, false, $default_lang_code ); -
do_action( 'wpml_switch_language', $has_stack ? null : $lang_code ); -
apply_filters( 'wpml_translate_single_string', $text, 'Patrons Tips', $string_name, $lang ); -
do_action( 'add_meta_boxes_patrons-tips_page_patips_patrons', null ); -
do_action( 'add_meta_boxes_patrons-tips_page_patips_tiers', null ); -
apply_filters( 'date_i18n', wp_date( $format, $timestamp, new DateTimeZone( 'UTC' ) ), $format, $timestamp, false ); -
apply_filters( "patips_{$plugin}_is_cart_item_subscription_switch", false, $cart_item ); -
apply_filters( "patips_{$plugin}_is_subscription_renewal_order", false, $order ); -
apply_filters( "patips_{$plugin}_is_subscription_switch_order", false, $order ); -
apply_filters( "patips_{$plugin}_new_tier_subscription_product", false, $tier_id, $frequency, $assign, $product_type ); -
apply_filters( "patips_{$plugin}_subscription_edit_url", '', $subscription_id ); -
apply_filters( "patips_{$plugin}_subscription_url", '', $subscription_id ); -
apply_filters( "patips_{$plugin}_subscriptions", array(), $subscription_ids ); -
do_action( 'patips_activate' ); -
do_action( 'patips_add_settings' ); -
do_action( 'patips_add_user_selectbox_options', $args, $users ); -
do_action( 'patips_admin_query_switched', $switched_locale ); -
apply_filters( 'patips_ajax_select2_patron_no_account_option', ! empty( $patron[ 'user_email' ] ) && strpos( strtolower( $patron[ 'user_email' ] ), strtolower( $term ) ) !== false ? array( 'id' => esc_attr( $patron[ 'user_email' ] ), 'text' => esc_html( $patron[ 'user_email' ] ) ) : array(), $patron, $term ); -
apply_filters( 'patips_ajax_select2_users_args', $defaults ); -
apply_filters( 'patips_ajax_select2_users_options', $options, $args ); -
apply_filters( 'patips_ajax_select2_wc_products_args', $defaults ); -
apply_filters( 'patips_ajax_select2_wc_products_options', $options, $args ); -
apply_filters( 'patips_attachment_settings_fields_patronage', array( 'preview' => array( 'name' => 'preview', 'type' => 'media', 'id' => 'patips-attachment-' . $post->ID . '-preview', 'options' => array( 'hide_input' => 1, 'desired_data' => 'id' ), 'value' => $preview_id ? intval( $preview_id ) : '', 'title' => esc_html__( 'Public preview', 'patrons-tips' ), 'tip' => esc_html__( 'Low quality, watermarked image displayed publicly for advertising purposes.'... ); -
do_action( 'patips_attachment_settings_fields_patronage_after', $post ); -
do_action( 'patips_attachment_settings_fields_patronage_before', $post ); -
apply_filters( 'patips_block_categories', $categories ); -
apply_filters( 'patips_block_patron_history', $html, $args, $block_atts ); -
apply_filters( 'patips_block_patron_history_args', array( 'user_id' => ! empty( $block_atts[ 'userID' ] ) ? intval( $block_atts[ 'userID' ] ) : get_current_user_id(), 'patron_id' => ! empty( $block_atts[ 'patronID' ] ) ? intval( $block_atts[ 'patronID' ] ) : 0, 'tier_ids' => isset( $block_atts[ 'tiers' ] ) ? patips_ids_to_array( $block_atts[ 'tiers' ] ) : array(), 'period' => isset( $block_atts[ 'period' ] ) ? sanitize_text_field( $block_atts[ ... ); -
apply_filters( 'patips_block_patron_list', $html, $args, $block_atts ); -
apply_filters( 'patips_block_patron_list_args', array( 'period' => isset( $block_atts[ 'period' ] ) ? sanitize_text_field( $block_atts[ 'period' ] ) : '', 'date' => isset( $block_atts[ 'date' ] ) ? sanitize_text_field( $block_atts[ 'date' ] ) : '', 'current' => ! empty( $block_atts[ 'current' ] ), 'tier_ids' => isset( $block_atts[ 'tiers' ] ) ? patips_ids_to_array( $block_atts[ 'tiers' ] ) : array() ), $block_atts ); -
apply_filters( 'patips_block_patron_post_list', $html, $args, $block_atts ); -
apply_filters( 'patips_block_patron_post_list_args', array( 'user_id' => ! empty( $block_atts[ 'userID' ] ) ? intval( $block_atts[ 'userID' ] ) : get_current_user_id(), 'user_email' => ! empty( $block_atts[ 'userEmail' ] ) ? sanitize_text_field( $block_atts[ 'userEmail' ] ) : '', 'patron_id' => ! empty( $block_atts[ 'patronID' ] ) ? intval( $block_atts[ 'patronID' ] ) : 0, 'types' => ! empty( $block_atts[ 'types' ] ) && is_array( $block_atts[ 'ty... ); -
apply_filters( 'patips_block_patron_status', $html, $args, $block_atts ); -
apply_filters( 'patips_block_patron_status_args', array( 'user_id' => ! empty( $block_atts[ 'userID' ] ) ? intval( $block_atts[ 'userID' ] ) : get_current_user_id(), 'patron_id' => ! empty( $block_atts[ 'patronID' ] ) ? intval( $block_atts[ 'patronID' ] ) : 0 ), $block_atts ); -
apply_filters( 'patips_block_period_media', $html, $args, $block_atts ); -
apply_filters( 'patips_block_period_media_args', array( 'date' => ! empty( $block_atts[ 'period' ] ) ? sanitize_text_field( $block_atts[ 'period' ] ) : '', 'categories' => ! empty( $block_atts[ 'categories' ] ) && is_array( $block_atts[ 'categories' ] ) ? $block_atts[ 'categories' ] : array(), 'image_size' => ! empty( $block_atts[ 'imageSize' ] ) && in_array( $block_atts[ 'imageSize' ], array( 'full', 'large', 'medium', 'thumbnail' ), true ) ... ); -
apply_filters( 'patips_block_period_results', $html, $args, $block_atts ); -
apply_filters( 'patips_block_period_results_args', array( 'display' => isset( $block_atts[ 'display' ] ) && in_array( $block_atts[ 'display' ], array( 'both', 'patron_nb', 'income' ) , true ) ? $block_atts[ 'display' ] : 'patron_nb', 'period' => isset( $block_atts[ 'period' ] ) ? sanitize_text_field( $block_atts[ 'period' ] ) : '', 'zero_text' => isset( $block_atts[ 'zeroText' ] ) ? sanitize_text_field( $block_atts[ 'zeroText' ] ) : '', 'raw' =... ); -
apply_filters( 'patips_block_tier_form', $html, $args, $block_atts ); -
apply_filters( 'patips_block_tier_form_args', array( 'tiers' => isset( $block_atts[ 'tiers' ] ) ? $block_atts[ 'tiers' ] : array(), 'default_tier' => isset( $block_atts[ 'defaultTier' ] ) ? $block_atts[ 'defaultTier' ] : '', 'frequencies' => isset( $block_atts[ 'frequencies' ] ) ? $block_atts[ 'frequencies' ] : array(), 'default_frequency' => isset( $block_atts[ 'defaultFrequency' ] ) ? $block_atts[ 'defaultFrequency' ] : '', 'decimals' =>... ); -
apply_filters( 'patips_block_translation_handles', array( 'patrons-tips' => array( 'blocks/tier-form/index.js' => 'patrons-tips-tier-form-editor-script', 'blocks/period-results/index.js' => 'patrons-tips-period-results-editor-script', 'blocks/period-media/index.js' => 'patrons-tips-period-media-editor-script', 'blocks/patron-status/index.js' => 'patrons-tips-patron-status-editor-script', 'blocks/patron-list/index.js' => 'patrons-tips-patron-lis... ); -
do_action( 'patips_create_quick_start_tiers_before', $term_ids_by_type ); -
apply_filters( 'patips_current_lang_code', $lang_code, $with_locale ); -
apply_filters( 'patips_current_period', patips_get_period_by_date() ); -
apply_filters( 'patips_date_period', $period, $datetime, $period_duration, $until ); -
do_action( 'patips_db_updated', $db_version ); -
do_action( 'patips_deactivate' ); -
apply_filters( 'patips_default_options', $defaults ); -
apply_filters( 'patips_default_patron_data', array( 'id' => 0, 'nickname' => '', 'user_id' => 0, 'user_email' => '', 'creation_date' => '', 'active' => 1, 'history' => array() ), $context ); -
apply_filters( 'patips_default_patron_filters', array( 'in__id' => array(), 'user' => '', 'user_ids' => array(), 'user_emails' => array(), 'tier_ids' => array(), 'from' => '', 'to' => '', 'end_from' => '', 'end_to' => '', 'created_from' => '', 'created_to' => '', 'period_from' => '', 'period_to' => '', 'period' => '', 'period_duration' => 0, 'date' => '', 'current' => false, 'no_account' => false, 'active' => false, 'order_by' => array( 'id'... ); -
apply_filters( 'patips_default_patron_history_columns', array( 'period', 'end', 'tier', 'price', 'actions' ) ); -
apply_filters( 'patips_default_patron_history_data', array( 'id' => 0, 'patron_id' => 0, 'tier_id' => 0, 'date_start' => '', 'date_end' => '', 'period_start' => '', 'period_end' => '', 'period_nb' => 1, 'period_duration' => patips_get_default_period_duration(), 'order_id' => 0, 'order_item_id' => 0, 'subscription_id' => 0, 'subscription_plugin' => '', 'active' => 1 ), $context ); -
apply_filters( 'patips_default_patron_history_filters', array( 'in__id' => array(), 'patron_ids' => array(), 'tier_ids' => array(), 'order_ids' => array(), 'order_item_ids' => array(), 'subscription_ids' => array(), 'subscription_plugin' => '', 'from' => '', 'to' => '', 'end_from' => '', 'end_to' => '', 'period_from' => '', 'period_to' => '', 'period' => '', 'period_duration' => 0, 'date' => '', 'current' => false, 'active' => false, 'order_by' => a... ); -
apply_filters( 'patips_default_patron_history_meta', array(), $context ); -
apply_filters( 'patips_default_patron_meta', array(), $context ); -
apply_filters( 'patips_default_patron_post_filters', array( 'types' => array( 'post' ), 'statuses' => array( 'publish' ), 'categories' => array(), 'tags' => array(), 'cat_and_tag' => true, 'from' => patips_get_option( 'patips_settings_general', 'patronage_launch_date' ), 'to' => '', 'patron_id' => 0, 'user_id' => get_current_user_id(), 'user_email' => '', 'restricted' => false, 'unlocked' => false, 'order_by' => array( 'post_date' ), 'order' => '... ); -
apply_filters( 'patips_default_period_duration', 1 ); -
apply_filters( 'patips_default_sales_sidebar_widget_ids', array( 'patips_widget_patron_number', 'patips_widget_period_income', 'patips_widget_tier_form', 'patips_widget_period_media' ) ); -
apply_filters( 'patips_default_subscription_data', array( 'id' => 0, 'plugin' => '', 'frequency' => '', 'user_id' => 0, 'user_email' => '', 'order_id' => 0, 'order_item_id' => 0, 'product_id' => 0, 'price' => 0, 'date_created' => '', 'date_start' => '', 'date_end' => '', 'date_renewal' => '', 'date_trial_end' => '', 'deferred' => 0, 'retroactive' => 0, 'ignore_parent' => 0, 'pending_cancel' => 0, 'active' => 0 ) ); -
apply_filters( 'patips_default_subscription_form_filters', array( 'redirect' => is_user_logged_in() ? patips_get_patron_area_page_url() : '', 'submit_label' => esc_html__( 'Become patron', 'patrons-tips' ), 'tiers' => array(), 'frequencies' => array(), 'default_tier' => 0, 'default_frequency' => '', 'include_tax' => true, 'decimals' => false, 'image_size' => 'thumbnail', 'order_by' => array( 'price' ), 'order' => 'asc' ) ); -
apply_filters( 'patips_default_tier_data', array( 'id' => 0, 'title' => '', 'icon_id' => 0, 'description' => '', 'price' => 0, 'default_price' => 0, 'user_id' => 0, 'creation_date' => '', 'active' => 1, 'term_ids' => array( 'active' => array() ) ), $context ); -
apply_filters( 'patips_default_tier_filters', array( 'in__id' => array(), 'title' => '', 'user_id' => 0, 'active' => 1, 'order_by' => array( 'id' ), 'order' => 'desc', 'offset' => 0, 'per_page' => 0 ) ); -
apply_filters( 'patips_default_tier_meta', array(), $context ); -
do_action( 'patips_delete_options' ); -
apply_filters( 'patips_deleted_user_patron_data', $patron_data, $user, $reassign_user_id ); -
do_action( 'patips_display_custom_field', $field, $field_name ); -
do_action( "patips_display_field_{$args['type']}", $args ); -
apply_filters( 'patips_expired_export_ids', $export_ids ); -
do_action( 'patips_expired_exports_deleted', $export_ids ); -
apply_filters( 'patips_export_expiration_delay', 31 ); -
apply_filters( 'patips_formatted_field_args', $args, $raw_args ); -
apply_filters( 'patips_formatted_patron_data', $patron_data, $raw_patron_data, $context ); -
apply_filters( 'patips_formatted_patron_export_settings', $settings, $raw_settings ); -
apply_filters( 'patips_formatted_patron_filters', $formatted_filters, $filters ); -
apply_filters( 'patips_formatted_patron_history_data', $history, $raw_history_entries, $patron_id, $context ); -
apply_filters( 'patips_formatted_patron_history_entry_data', $history_entry, $raw_history_entry, $patron_id, $context ); -
apply_filters( 'patips_formatted_patron_history_filters', $formatted_filters, $filters ); -
apply_filters( 'patips_formatted_patron_post_filters', $formatted_filters, $filters ); -
apply_filters( 'patips_formatted_price', str_replace( array( "\t", "\r", "\n" ), '', trim( ob_get_clean() ) ), $amount, $price_raw, $args_raw ); -
apply_filters( 'patips_formatted_string_patron_filters', array_merge( $filters, $formatted_filters ), $filters ); -
apply_filters( 'patips_formatted_string_patron_post_filters', array_merge( $filters, $formatted_filters ), $filters ); -
apply_filters( 'patips_formatted_string_subscription_form_filters', array_merge( $filters, $formatted_filters ), $filters ); -
apply_filters( 'patips_formatted_subscription_data', $subscription_data, $raw_subscription_data, $context ); -
apply_filters( 'patips_formatted_subscription_form_filters', $formatted_filters, $filters ); -
apply_filters( 'patips_formatted_tier_data', $tier_data, $raw_tier_data, $context ); -
apply_filters( 'patips_formatted_tier_filters', $formatted_filters, $filters ); -
apply_filters( 'patips_frequency_name', $frequency_name, $frequency ); -
apply_filters( 'patips_fsb_converted_subscription', $subscription, $fsb_raw_subscription ); -
apply_filters( 'patips_generated_patron_nickname', $nickname, $user, $object, $fallback ); -
apply_filters( 'patips_get_more_list_items', $list_items, $type, $args ); -
apply_filters( 'patips_get_more_list_items_filters', $filters, $type, $args ); -
apply_filters( 'patips_get_patron_posts_query', $query, $filters, $patron_id ); -
apply_filters( 'patips_get_patron_rows_nb_query', $query, $filters ); -
apply_filters( 'patips_get_patrons_history_query', $query, $filters ); -
apply_filters( 'patips_get_patrons_query', $query, $filters ); -
apply_filters( 'patips_get_tier_rows_nb_query', $query, $filters ); -
apply_filters( 'patips_get_tiers_count_query', $query, $variables ); -
apply_filters( 'patips_get_tiers_query', $query, $filters ); -
apply_filters( 'patips_is_available_locale', $is_available, $locale ); -
apply_filters( 'patips_is_free_subscription_allowed', true ); -
apply_filters( 'patips_is_post_restricted', $is_restricted, $patron, $post, $user_id ); -
apply_filters( 'patips_js_variables', $vars ); -
do_action( 'patips_locale_restored', $restored_locale ); -
do_action( 'patips_locale_switched', $switched_locale ); -
apply_filters( 'patips_login_link', $link, $redirect, $url_only ); -
apply_filters( 'patips_min_version', PATIPS_PLUGIN_VERSION ); -
apply_filters( "patips_option_{$option_group}/{$option_name}", $option_value, $raw ); -
apply_filters( "patips_page_template_{$page}", $content, $page ); -
do_action( 'patips_patron_area_after' ); -
do_action( 'patips_patron_area_before' ); -
apply_filters( 'patips_patron_area_page_url', $url ? $url : '' ); -
do_action( 'patips_patron_area_tab_history_after' ); -
do_action( 'patips_patron_area_tab_history_before' ); -
do_action( 'patips_patron_area_tab_home_after' ); -
do_action( 'patips_patron_area_tab_home_before' ); -
do_action( 'patips_patron_area_tab_rewards_after' ); -
do_action( 'patips_patron_area_tab_rewards_before' ); -
do_action( 'patips_patron_area_tabs_after' ); -
do_action( 'patips_patron_area_tabs_before' ); -
do_action( 'patips_patron_created', $patron_id, $patron_data ); -
do_action( 'patips_patron_deactivated', $patron_id ); -
do_action( 'patips_patron_deleted', $patron_id ); -
do_action( 'patips_patron_edited', $patron_id ); -
do_action( 'patips_patron_editor_page_after', $patron ); -
do_action( 'patips_patron_editor_page_before', $patron ); -
apply_filters( 'patips_patron_export_columns_labels', $columns ); -
apply_filters( 'patips_patron_export_csv_args', array( 'columns' => $columns, 'raw' => ! empty( $args[ 'raw' ] ) ? 1 : 0, 'row_type' => ! empty( $args[ 'row_type' ] ) ? $args[ 'row_type' ] : 'patron', 'locale' => $locale ) ); -
apply_filters( 'patips_patron_export_csv_fields', array( 'csv_columns' => array( 'type' => 'select', 'name' => 'csv_columns', 'id' => 'patips-csv-columns-to-export', 'class' => 'patips-select2-no-ajax', 'multiple' => 1, 'attr' => array( '<select>' => ' data-sortable="1"' ), 'title' => esc_html__( 'Columns to export (ordered)', 'patrons-tips' ), 'placeholder' => esc_html__( 'Search...', 'patrons-tips' ), 'options' => $export_columns_ordered, 'v... ); -
apply_filters( 'patips_patron_export_default_settings', $defaults ); -
do_action( 'patips_patron_export_dialog_before' ); -
apply_filters( 'patips_patron_export_filters', $filters, $export_type ); -
apply_filters( 'patips_patron_export_get_user_data', $has_user_data, $args ); -
apply_filters( 'patips_patron_export_global_fields', array( 'per_page' => array( 'type' => 'number', 'name' => 'per_page', 'title' => esc_html__( 'Limit', 'patrons-tips' ), 'id' => 'patips-select-export-limit', 'value' => $user_settings[ 'per_page' ], 'tip' => esc_html__( 'Maximum number of patrons to export. You may need to increase your PHP max execution time if this number is too high.', 'patrons-tips' ) ) ), $user_settings ); -
apply_filters( 'patips_patron_export_headers', array( 'Content-type' => 'text/csv', 'charset' => 'utf-8', 'Content-Disposition' => 'attachment', 'filename' => $filename, 'Cache-Control' => 'no-cache, must-revalidate', 'Expires' => 'Sat, 26 Dec 1992 00:50:00 GMT' ), $export_type ); -
apply_filters( 'patips_patron_export_settings', $settings, $user_id ); -
apply_filters( 'patips_patron_export_url_attributes', array_merge( $add_url_atts, $patron_filters ), $export_type, $export_settings, array_merge( $default_fitlers, $default_settings ) ); -
do_action( 'patips_patron_filters_after' ); -
do_action( 'patips_patron_filters_before' ); -
apply_filters( 'patips_patron_history_column_titles', array( 'start' => esc_html__( 'Start', 'patrons-tips' ), 'end' => esc_html__( 'End', 'patrons-tips' ), 'period' => esc_html__( 'Period', 'patrons-tips' ), 'tier' => esc_html__( 'Tier', 'patrons-tips' ), 'price' => esc_html__( 'Price', 'patrons-tips' ), 'actions' => esc_html__( 'Actions', 'patrons-tips' ) ) ); -
apply_filters( 'patips_patron_history_data', $patron_history, $patron_history_raw_data, $patron_id, $filters, $raw ); -
apply_filters( 'patips_patron_history_entry_origin', $origin, $entry, $field, $patron ); -
apply_filters( 'patips_patron_history_list', $history_list, $list_item, $filters ); -
apply_filters( 'patips_patron_history_list_item_data', array( 'start' => $history_entry[ 'date_start' ] ? patips_format_datetime( $history_entry[ 'date_start' ] . ' 00:00:00' ) : '', 'end' => $history_entry[ 'date_end' ] ? patips_format_datetime( $history_entry[ 'date_end' ] . ' 23:59:59' ) : '', 'period' => $period_name, 'tier' => $tier_title, 'price' => '', 'actions' => '' ), $history_entry, $filters ); -
apply_filters( 'patips_patron_history_list_items', $list_items, $history_entries, $filters ); -
apply_filters( 'patips_patron_history_period_name', $period_name, $history_entry ); -
apply_filters( 'patips_patron_list', $items ? '<div class="patips-patron-list">' . implode( ', ', $items ) . '</div>' : '', $patrons, $nicknames ); -
apply_filters( 'patips_patron_list_edit_links', current_user_can( 'patips_edit_patrons' ) ); -
apply_filters( 'patips_patron_list_item', '<em>' . esc_html( $nickname ) . '</em>', $patron, $nickname ); -
apply_filters( 'patips_patron_list_items', $items, $patrons, $nicknames ); -
do_action( 'patips_patron_list_table_after' ); -
do_action( 'patips_patron_list_table_before' ); -
apply_filters( 'patips_patron_list_table_item', array( 'id' => $patron[ 'id' ], 'name' => $name, 'user' => $user_name, 'date' => $creation_date, 'current' => $current, 'active_raw' => $patron[ 'active' ], 'current_tiers' => $current_tiers, 'primary_data' => $primary_data, 'primary_data_html' => $primary_data_html ), $patron ); -
apply_filters( 'patips_patron_list_table_items', $patron_list_items, $patrons, $this ); -
do_action( 'patips_patron_list_table_page_after' ); -
do_action( 'patips_patron_list_table_page_before' ); -
do_action( 'patips_patron_list_table_page_heading' ); -
apply_filters( 'patips_patron_list_table_primary_column', 'name', $this->screen ); -
apply_filters( 'patips_patron_list_table_row_actions', $actions, $item ); -
apply_filters( 'patips_patron_list_table_sortable_columns', array( 'id' => array( 'id', true ), 'name' => array( 'nickname', false ), 'user' => array( 'user_id', false ), 'date' => array( 'creation_date', true ) ) ); -
apply_filters( 'patips_patron_list_thanks', $html, $patron_list, $patrons, $period_name ); -
apply_filters( 'patips_patron_nickname', $nickname, $patron, $fallback ); -
apply_filters( 'patips_patron_post_list', $post_list, $post_items, $filters ); -
do_action( 'patips_patron_post_list_item_after', $post, $filters, $offset ); -
do_action( 'patips_patron_post_list_item_before', $post, $filters, $offset ); -
apply_filters( 'patips_patron_post_list_item_classes', $classes, $post, $filters, $offset ); -
do_action( 'patips_patron_post_list_item_text_after', $post, $filters, $offset ); -
apply_filters( 'patips_patron_post_list_items', $list_items, $posts, $filters ); -
do_action( 'patips_patron_restored', $patron_id ); -
apply_filters( 'patips_patron_settings_fields_general', array( 'user_id' => array( 'name' => 'user_id', 'type' => 'user_id', 'id' => 'patips-patron-user-id', 'options' => array( 'option_label' => array( 'first_name', ' ', 'last_name', ' (', 'user_login', ' / ', 'user_email', ')' ) ), 'value' => ! empty( $patron[ 'user_id' ] ) ? intval( $patron[ 'user_id' ] ) : '', 'title' => esc_html__( 'User', 'patrons-tips' ), 'tip' => esc_html__( 'Link a user acc... ); -
do_action( 'patips_patron_settings_fields_general_after', $patron ); -
do_action( 'patips_patron_settings_fields_general_before', $patron ); -
do_action( 'patips_patron_settings_fields_history_after', $patron ); -
do_action( 'patips_patron_settings_fields_history_before', $patron ); -
do_action( 'patips_patron_settings_fields_loyalty_after', $patron ); -
do_action( 'patips_patron_settings_fields_loyalty_before', $patron ); -
apply_filters( 'patips_patron_settings_history', $patron[ 'history' ], $patron, $columns ); -
do_action( "patips_patron_settings_history_column_{$key}", $entry, $column, $patron ); -
apply_filters( "patips_patron_settings_history_column_title_{$key}", ob_get_clean(), $column, $patron ); -
apply_filters( 'patips_patron_settings_history_columns', array( 'start' => array( 'title' => esc_html__( 'Start', 'patrons-tips' ) ), 'duration' => array( 'title' => esc_html__( 'End', 'patrons-tips' ) ), 'period' => array( 'title' => esc_html__( 'Period', 'patrons-tips' ) ), 'tier' => array( 'options' => $tier_options, 'title' => esc_html__( 'Tier', 'patrons-tips' ) ), 'origin' => array( 'title' => esc_html__( 'Origin', 'patrons-tips' ) ), 'active' ... ); -
do_action( 'patips_patron_settings_history_rows_after', $patron, $columns, $history ); -
do_action( 'patips_patron_settings_history_rows_before', $patron, $columns, $history ); -
apply_filters( 'patips_patron_settings_history_table', ob_get_clean(), $patron, $columns, $history ); -
apply_filters( 'patips_patron_status_list_item', $li, $current_history_entry, $patron, $args ); -
apply_filters( 'patips_patron_updated', $updated, $patron_id, $patron_data ); -
apply_filters( 'patips_patronage_simple_product_class', 'WC_Product_Simple', $tier_id, $frequency ); -
apply_filters( 'patips_patronage_variable_product_class', 'WC_Product_Variable', $tier_id, $frequency ); -
apply_filters( 'patips_patronage_variation_product_class', 'WC_Product_Variation', $tier_id, $frequency ); -
apply_filters( 'patips_period_name', $period_name, $period ); -
apply_filters( 'patips_post_patron_list_thanks', $html, $patrons, $filters, $post ); -
apply_filters( 'patips_post_patron_list_thanks_filters', patips_format_patron_filters( array( 'current' => 1 ) ), $post ); -
apply_filters( 'patips_post_patron_list_thanks_period_name', '', $filters ); -
apply_filters( 'patips_post_restricted_terms', $post_restricted_terms, $post ); -
apply_filters( 'patips_post_taxonomies', $taxonomies, $post ); -
apply_filters( 'patips_post_terms', $post_terms, $post ); -
apply_filters( 'patips_post_unlock_tiers', $unlock_tiers, $post ); -
apply_filters( 'patips_pre_generate_patron_nickname', $nickname, $user, $object ); -
apply_filters( 'patips_price_args', array( 'currency_symbol' => patips_get_option( 'patips_settings_general', 'price_currency_symbol' ), 'decimal_separator' => patips_get_option( 'patips_settings_general', 'price_decimal_separator' ), 'thousand_separator' => patips_get_option( 'patips_settings_general', 'price_thousand_separator' ), 'decimals' => patips_get_option( 'patips_settings_general', 'price_decimals_number' ), 'price_form... ); -
apply_filters( 'patips_price_format', $format, $currency_pos ); -
apply_filters( 'patips_price_trim_zeros', false ); -
apply_filters( 'patips_privacy_anonymize_patrons_without_account', true, $email_address, $page ); -
apply_filters( 'patips_privacy_erase_patrons_data', $response, $patrons, $email_address ); -
apply_filters( 'patips_privacy_erase_patrons_data_before', $response, $patrons, $email_address ); -
apply_filters( 'patips_privacy_erase_patrons_meta_keys', array(), $patrons, $email_address, $page ); -
apply_filters( 'patips_privacy_export_patron_data', $patron_personal_data, $patron, $email_address ); -
apply_filters( 'patips_privacy_export_patron_value', isset( $patron[ $key ] ) ? $patron[ $key ] : '', $key, $patron, $email_address ); -
apply_filters( 'patips_privacy_export_patrons_columns', array( 'id' => esc_html__( 'ID', 'patrons-tips' ), 'nickname' => esc_html__( 'Nickname', 'patrons-tips' ), 'creation_date' => esc_html__( 'Creation date', 'patrons-tips' ), 'active' => esc_html__( 'Active', 'patrons-tips' ) ), $patrons, $email_address ); -
apply_filters( 'patips_privacy_export_patrons_data', $data_to_export, $patrons, $email_address ); -
apply_filters( 'patips_pro_purchase_button_label', _x( 'Purchase', 'verb', 'patrons-tips' ) ); -
apply_filters( 'patips_pro_sales_link', $link, $url_only ); -
do_action( 'patips_query_locale_restored', $restored_locale ); -
do_action( 'patips_quick_start_tiers_created', $quick_start_tier_ids ); -
apply_filters( 'patips_quick_start_tiers_default_data', array( 'basic' => array( 'title' => esc_html__( 'Basic', 'patrons-tips' ), 'icon_id' => $tier1_icon_post ? $tier1_icon_post->ID : 0, 'description' => '- ' . esc_html__( 'Your name in credits', 'patrons-tips' ), 'price' => 5, 'active' => 1 ), 'premium' => array( 'title' => esc_html__( 'Premium', 'patrons-tips' ), 'icon_id' => $tier2_icon_post ? $tier2_icon_post->ID : 0, 'description' => '- ' . e... ); -
apply_filters( 'patips_recurring_payment_plugins', array( 'wcs' => array( 'title' => esc_html__( 'WooCommerce Subscriptions', 'patrons-tips' ), 'slug' => 'woocommerce-subscriptions', 'author' => esc_html__( 'WooCommerce', 'patrons-tips' ), 'url' => 'https://woocommerce.com/products/woocommerce-subscriptions/', 'pricing' => 'premium' ), 'sfw' => array( 'title' => esc_html__( 'Subscriptions for WooCommerce', 'patrons-tips' ), 'slug' => 'subscript... ); -
do_action( 'patips_register_block_types' ); -
apply_filters( 'patips_restore_locale_callback', 'restore_previous_locale' ); -
apply_filters( 'patips_restore_query_locale_callback', '' ); -
apply_filters( 'patips_restrict_post_content', patips_is_post_restricted( $post ), $post ); -
apply_filters( 'patips_restrictable_taxonomies_by_post_type', array( 'post' => array( 'category', 'post_tag' ), 'attachment' => array_keys( patips_get_attachment_public_taxonomies() ) ) ); -
apply_filters( 'patips_restricted_post_content', ob_get_clean(), $post, $args, $unlock_tiers, $user_id ); -
apply_filters( 'patips_restricted_post_content_args', array( 'img_url' => patips_get_option( 'patips_settings_general', 'restricted_post_image_url' ), 'message' => $message, 'term_descriptions' => $term_descriptions, 'actions' => $actions, ), $post, $unlock_tiers, $user_id ); -
apply_filters( 'patips_restricted_terms', $restricted_terms ); -
do_action( 'patips_sales_page_sidebar_after' ); -
do_action( 'patips_sales_page_sidebar_before' ); -
do_action( 'patips_sales_page_sidebar_form_after' ); -
do_action( 'patips_sales_page_sidebar_results_after' ); -
apply_filters( 'patips_sales_page_template_data', array( 'title' => esc_html__( 'Page: Patronage sales', 'patrons-tips' ), 'description' => esc_html__( 'Introduce the patronage system and sell patronage tiers.', 'patrons-tips' ), 'plugin' => 'patrons-tips', 'post_types' => array( 'page', 'post' ), 'content' => patips_get_page_template( 'sales-page-template' ) ) ); -
apply_filters( 'patips_sanitized_patron_data', $patron_data, $raw_patron_data ); -
apply_filters( 'patips_sanitized_patron_export_settings', $settings, $raw_settings ); -
apply_filters( 'patips_sanitized_patron_history_data', $history, $raw_history_entries, $patron_id ); -
apply_filters( 'patips_sanitized_patron_history_entry_data', $history_entry, $raw_history_entry, $patron_id ); -
apply_filters( 'patips_sanitized_settings_general', $settings, $settings_raw ); -
apply_filters( 'patips_sanitized_settings_licenses', array(), $settings_raw ); -
apply_filters( 'patips_sanitized_tier_data', $tier_data, $raw_tier_data ); -
apply_filters( 'patips_sanitized_values', $sanitized_data, $default_data, $raw_data, $keys_by_type ); -
apply_filters( 'patips_screen_ids', $screens ); -
apply_filters( "patips_send_json_{$action}", $array ); -
do_action( 'patips_set_capabilities' ); -
apply_filters( 'patips_settings_display_submit_button', true, $active_tab ); -
do_action( 'patips_settings_page_header' ); -
do_action( 'patips_settings_price_section' ); -
do_action( 'patips_settings_section_licenses_after' ); -
do_action( "patips_settings_tab_{$active_tab}" ); -
apply_filters( 'patips_settings_tabs', array ( 'general' => esc_html__( 'General', 'patrons-tips' ), 'licenses' => esc_html__( 'Licenses', 'patrons-tips' ) ) ); -
apply_filters( 'patips_sfw_converted_subscription', $subscription, $sfw_raw_subscription ); -
apply_filters( 'patips_sfw_is_deferred_payment_retroactive', true ); -
do_action( 'patips_sfw_subscription_status_updated', $sfw_subscription, $patips_sfw_subscription_status_transition[ 'to' ], $patips_sfw_subscription_status_transition[ 'from' ] ); -
apply_filters( 'patips_shortcode_patron_history', $history_list, $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_history_filters', array_merge( $filters, array( 'columns' => $columns ) ), $raw_args ); -
apply_filters( 'patips_shortcode_patron_list', $html, $patrons, $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_list_filters', $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_list_thanks', $html, $patrons, $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_list_thanks_filters', $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_list_thanks_period_name', '', $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_number', ob_get_clean(), intval( $patron_nb ), $patrons, $filters, $args, $raw_args ); -
apply_filters( 'patips_shortcode_patron_number_args', $args, $raw_args ); -
apply_filters( 'patips_shortcode_patron_number_filters', $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_post_list', $post_list, $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_post_list_filters', $filters, $raw_args ); -
apply_filters( 'patips_shortcode_patron_status', $html, $patron, $raw_args ); -
do_action( 'patips_shortcode_patron_status_after', $patron, $raw_args ); -
do_action( 'patips_shortcode_patron_status_before', $patron, $raw_args ); -
apply_filters( 'patips_shortcode_period_income', ob_get_clean(), $patrons, $filters, $args, $raw_args ); -
apply_filters( 'patips_shortcode_period_income_args', $args, $raw_args ); -
apply_filters( 'patips_shortcode_period_income_filters', $filters, $raw_args ); -
apply_filters( 'patips_shortcode_period_media', $post_list, $filters, $raw_args ); -
apply_filters( 'patips_shortcode_period_media_filters', $filters, $raw_args ); -
apply_filters( 'patips_shortcode_period_name', $period_name, $args, $raw_args ); -
apply_filters( 'patips_shortcode_period_name_args', $args, $raw_args ); -
apply_filters( 'patips_shortcode_period_results', ob_get_clean(), $patrons, $filters, $args, $raw_args ); -
apply_filters( 'patips_shortcode_period_results_args', $args, $raw_args ); -
apply_filters( 'patips_shortcode_period_results_filters', $filters, $raw_args ); -
apply_filters( 'patips_shortcode_subscription_form', $form, $filters, $raw_args ); -
apply_filters( 'patips_shortcode_subscription_form_filters', $filters, $raw_args ); -
apply_filters( 'patips_site_default_locale', $locale, $with_locale ); -
apply_filters( 'patips_site_locale', $locale, $country_code ); -
apply_filters( 'patips_subscription_data', $subscriptions[ $subscription_id ], $subscription_raw, $subscription_id, $plugin ); -
apply_filters( 'patips_subscription_form', ob_get_clean(), $args ); -
do_action( 'patips_subscription_form_after', $args ); -
do_action( 'patips_subscription_form_before', $args ); -
do_action( 'patips_subscription_form_before_submit', $args ); -
apply_filters( 'patips_subscription_form_new_history_entry', array( 'patron_id' => $patron[ 'id' ], 'tier_id' => $tier_id, 'date_start' => $start_dt->format( 'Y-m-d' ), 'date_end' => $end_dt->format( 'Y-m-d' ), 'period_start' => substr( $current_period[ 'start' ], 0, 10 ), 'period_end' => substr( $current_period[ 'end' ], 0, 10 ), 'active' => 1 ), $patron, $tier ); -
do_action( 'patips_subscription_form_processed', $new_history_entry, $patron, $tier ); -
do_action( 'patips_subscription_form_tier_option_after', $tier, $args ); -
do_action( 'patips_subscription_form_tier_option_container_after', $tier, $args ); -
apply_filters( 'patips_subscription_form_tier_option_input_attr', $attr, $tier, $args ); -
do_action( 'patips_subscription_form_tier_option_text_after', $tier, $args ); -
apply_filters( 'patips_subscription_plugin', '' ); -
apply_filters( 'patips_switch_locale_callback', 'switch_to_locale', $locale ); -
apply_filters( 'patips_switch_query_locale_callback', '', $locale ); -
apply_filters( 'patips_sync_patron_history_ajax_response', array( 'status' => 'success', 'history_table' => $history_table, 'message' => esc_html__( 'The patronage history has been successfully synced with WooCommerce orders.', 'patrons-tips' ) ), $patron ); -
do_action( 'patips_tier_created', $tier_id, $tier_data ); -
apply_filters( 'patips_tier_data', $tier, $tier_raw_data, $tier_id, $raw ); -
do_action( 'patips_tier_deactivated', $tier_id ); -
do_action( 'patips_tier_deleted', $tier_id ); -
do_action( 'patips_tier_editor_page_after', $tier ); -
do_action( 'patips_tier_editor_page_before', $tier ); -
do_action( 'patips_tier_filters_after' ); -
do_action( 'patips_tier_filters_before' ); -
do_action( 'patips_tier_list_table_after' ); -
do_action( 'patips_tier_list_table_before' ); -
apply_filters( 'patips_tier_list_table_item', array( 'id' => $tier_id, 'title' => $title, 'price' => $tier[ 'price' ] ? patips_format_price( $tier[ 'price' ] ) : '', 'categories' => $categories, 'current' => $current, 'current_nb' => $current_nb, 'all_time' => $all_time, 'all_time_nb' => $all_time_nb, 'author' => $author, 'date' => $creation_date, 'active_raw' => $tier[ 'active' ], 'primary_data' => $primary_data, 'primary_data_html' => $p... ); -
apply_filters( 'patips_tier_list_table_items', $tier_list_items, $tiers ); -
do_action( 'patips_tier_list_table_page_after' ); -
do_action( 'patips_tier_list_table_page_before' ); -
do_action( 'patips_tier_list_table_page_heading' ); -
apply_filters( 'patips_tier_list_table_primary_column', 'title', $this->screen ); -
apply_filters( 'patips_tier_list_table_row_actions', $actions, $item ); -
apply_filters( 'patips_tier_product_misconfiguration_notices', $notices_by_type, $tier_product_ids ); -
do_action( 'patips_tier_restored', $tier_id ); -
apply_filters( 'patips_tier_restricted_term_scopes', array( 'active' ) ); -
apply_filters( 'patips_tier_settings_fields_presentation', array( 'title' => array( 'name' => 'title', 'type' => 'text', 'class' => 'patips-translatable', 'value' => ! empty( $tier[ 'title' ] ) ? sanitize_text_field( $tier[ 'title' ] ) : '', 'placeholder' => esc_html__( 'Enter tier title here', 'patrons-tips' ), 'title' => esc_html__( 'Title', 'patrons-tips' ), 'tip' => esc_html__( 'Concise title to clearly identify the tier in a list.', 'patrons-tips'... ); -
do_action( 'patips_tier_settings_fields_presentation_after', $tier ); -
do_action( 'patips_tier_settings_fields_presentation_before', $tier ); -
apply_filters( 'patips_tier_settings_fields_products', array( 'one_off' => array( 'name' => 'product_ids[one_off]', 'type' => 'product_id', 'multiple' => count( $product_ids_one_off ) > 1, 'placeholder' => esc_html__( 'Select a product', 'patrons-tips' ), 'title' => esc_html__( 'One-off', 'patrons-tips' ), 'options' => array( 'frequency' => 'one_off', 'sortable' => 1 ), 'value' => $product_ids_one_off, 'after' => $buttons . patips_wc_get_tier_produ... ); -
apply_filters( 'patips_tier_settings_fields_restricted_content', $fields, $tier, $term_options_by_type ); -
do_action( 'patips_tier_settings_fields_restricted_content_after', $tier ); -
do_action( 'patips_tier_settings_fields_restricted_content_before', $tier ); -
apply_filters( 'patips_tier_updated', $updated, $tier_id, $tier_data ); -
apply_filters( 'patips_tiers_lowest_product_price', $min_price, $tiers ); -
apply_filters( 'patips_tiers_products_price', $tiers_products_price, $tiers ); -
apply_filters( 'patips_total_income_based_on_patrons_history', $total ); -
apply_filters( 'patips_translatable_texts', $texts ); -
apply_filters( 'patips_translatable_texts_tier', $tier_texts, $tier ); -
apply_filters( 'patips_translate_external_text_with_plugin', $text, $lang, $fallback, $args ); -
apply_filters( 'patips_translate_external_text_with_wpml', $translated_text, $text, $lang, $fallback, $args ); -
apply_filters( 'patips_translate_text_with_plugin', $text, $lang, $fallback, $args ); -
apply_filters( 'patips_translation_plugin', '' ); -
do_action( 'patips_uninstall' ); -
do_action( 'patips_unset_capabilities' ); -
do_action( 'patips_updated', $old_version ); -
apply_filters( 'patips_user_locale', $locale, $user_id, $default, $country_code ); -
apply_filters( 'patips_user_selectbox_args', wp_parse_args( $raw_args, $defaults ), $raw_args ); -
apply_filters( 'patips_user_selectbox_options', $options, $args, $raw_args ); -
apply_filters( 'patips_users_data_args', wp_parse_args( $args, $defaults ), $args ); -
do_action( 'patips_validate_subscription_form', $new_history_entry, $patron, $tier ); -
do_action( 'patips_wc_add_product_selectbox_options', $args, $products_titles ); -
apply_filters( 'patips_wc_add_to_cart_tier_form', ob_get_clean(), $args ); -
do_action( 'patips_wc_add_to_cart_tier_form_after', $args ); -
do_action( 'patips_wc_add_to_cart_tier_form_before', $args ); -
do_action( 'patips_wc_add_to_cart_tier_form_frequency', $args ); -
apply_filters( 'patips_wc_add_to_cart_tier_form_frequency_input_attr', $attr, $frequency, $tiers, $args ); -
do_action( 'patips_wc_add_to_cart_tier_form_tier_option_after', $tier, $args ); -
do_action( 'patips_wc_add_to_cart_tier_form_tier_option_container_after', $tier, $args ); -
apply_filters( 'patips_wc_add_to_cart_tier_form_tier_option_input_attr', $attr, $tier, $args ); -
do_action( 'patips_wc_add_to_cart_tier_form_tier_option_text_after', $tier, $args ); -
apply_filters( 'patips_wc_get_orders_query', $query, $args ); -
apply_filters( 'patips_wc_hide_tier_product_misconfiguration_notices', false ); -
apply_filters( 'patips_wc_is_tier_price_manual', false ); -
apply_filters( 'patips_wc_patron_history_entry_price', $price, $history_entry ); -
do_action( 'patips_wc_patron_settings_sync_history_after', $patron ); -
do_action( 'patips_wc_patron_settings_sync_history_before', $patron ); -
apply_filters( 'patips_wc_patron_status_list_item', $li, $current_history_entry, $patron, $args, $subscription, $price ); -
apply_filters( 'patips_wc_product_period_nb', floor( $frequency / patips_get_default_period_duration() ), $product, $product_id ); -
apply_filters( 'patips_wc_product_selectbox_args', wp_parse_args( $raw_args, $defaults ), $raw_args ); -
apply_filters( 'patips_wc_product_subscription_frequency', 'one_off', $product, $product_id ); -
apply_filters( 'patips_wc_product_subscription_period_duration', patips_get_default_period_duration(), $product, $product_id ); -
apply_filters( 'patips_wc_product_subscription_period_nb', floor( $period_duration / patips_get_default_period_duration() ), $product, $product_id ); -
apply_filters( 'patips_wc_product_titles_query', $query, $args ); -
do_action( 'patips_wc_settings_notifications_section' ); -
apply_filters( 'patips_wc_sync_patron_history', $synced_entry_ids, $patron ); -
apply_filters( 'patips_wc_sync_patron_history_entry_order', array( 'patron_id' => $patron[ 'id' ], 'tier_id' => $order_item_tier[ 'id' ], 'date_start' => $start_dt->format( 'Y-m-d' ), 'date_end' => $end_dt->format( 'Y-m-d' ), 'period_start' => substr( $period[ 'start' ], 0, 10 ), 'period_end' => substr( $period[ 'end' ], 0, 10 ), 'period_nb' => $period[ 'count' ], 'period_duration' => $period[ 'duration' ], 'order_id' => $order_id, 'order_item_id' => $o... ); -
apply_filters( 'patips_wc_sync_patron_history_entry_subscription', array( 'patron_id' => $patron[ 'id' ], 'tier_id' => $tier_id, 'date_start' => $start_dt->format( 'Y-m-d' ), 'date_end' => $end_dt->format( 'Y-m-d' ), 'period_start' => substr( $period[ 'start' ], 0, 10 ), 'period_end' => substr( $period[ 'end' ], 0, 10 ), 'period_nb' => $period[ 'count' ], 'period_duration' => $period[ 'duration' ], 'order_id' => $order_id, 'order_item_id' => $order_item_id, 's... ); -
apply_filters( 'patips_wc_sync_patron_history_orders', $history_entries_to, $patron, $orders, $product_ids ); -
apply_filters( 'patips_wc_sync_patron_history_subscriptions', $history_entries_to, $patron, $subscriptions, $orders, $product_ids ); -
patips_wc_temp_patron_history_entry_for_retroactive_subscription
filter Copy link Customise this hookapply_filters( 'patips_wc_temp_patron_history_entry_for_retroactive_subscription', array( 'patron_id' => $patron[ 'id' ], 'tier_id' => $tier_id, 'date_start' => $start_dt->format( 'Y-m-d' ), 'date_end' => $end_dt->format( 'Y-m-d' ), 'period_start' => substr( $period[ 'start' ], 0, 10 ), 'period_end' => substr( $period[ 'end' ], 0, 10 ), 'period_nb' => $period[ 'count' ], 'period_duration' => $period[ 'duration' ], 'order_id' => 0, 'order_item_id' => 0, 'subscription_id' => $s... ); -
do_action( 'patips_wc_tier_settings_fields_products_after', $tier ); -
do_action( 'patips_wc_tier_settings_fields_products_before', $tier ); -
apply_filters( 'patips_wc_total_income_based_on_patrons_history', $total, $args_raw ); -
apply_filters( 'patips_wcs_converted_subscription', $subscription, $wcs_raw_subscription ); -
apply_filters( 'patips_wcs_is_deferred_payment_retroactive', true ); -
apply_filters( 'patips_widget_patron_number', ob_get_clean(), $instance, $args ); -
apply_filters( 'patips_widget_patron_number_args', array_merge( $this->default_data, $instance ) ); -
apply_filters( 'patips_widget_period_income', ob_get_clean(), $instance, $args ); -
apply_filters( 'patips_widget_period_income_args', array_merge( $this->default_data, $instance ) ); -
apply_filters( 'patips_widget_period_media', ob_get_clean(), $instance, $args ); -
apply_filters( 'patips_widget_period_media_args', array_merge( $this->default_data, $instance ) ); -
apply_filters( 'patips_widget_tier_form', ob_get_clean(), $instance, $args ); -
apply_filters( 'patips_widget_tier_form_args', array_merge( $default_args, $instance ) ); -
apply_filters( 'patips_wpml_fallback_text', $translated_text, $lang, $args ); -
apply_filters( 'the_content', apply_filters( 'patips_translate_text_external', $page->post_content, false, true, array( 'domain' => 'wordpress', 'object_type' => 'page', 'object_id' => $page_id, 'field' => 'post_content' ) ) ); -
apply_filters( 'woocommerce_taxonomy_args_pa_tier', array( 'labels' => array( 'name' => esc_html__( 'Tier', 'patrons-tips' ), ), 'hierarchical' => true, 'show_ui' => false, 'query_var' => true, 'rewrite' => false ) ); -
apply_filters( 'woocommerce_taxonomy_objects_pa_tier', array( 'product' ) ); -
apply_filters( 'wpml_current_language', '' ); -
apply_filters( 'wpml_default_language', '' );
Generated from Patrons Tips'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: