Post Views Counter icon
Analytics & Tracking

Post Views Counter hooks reference

  • By dFactory
  • v1.8.2
  • Updated

Post Views Counter 1.8.2 has 22 actions and 140 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.

functions.phpyour child theme
// Run your own code when Post Views Counter fires an action
add_action( 'pvc_import_before_provider', function( $arg1, $object ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Post Views Counter is about to use
add_filter( 'pvc_active_security_plugins', function( $plugins ) {
	// Change $plugins here.
	return $plugins;
}, 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

  • includes/class-import.php line 468 · used in 2 places
    /**
     * Fires before an import provider operation starts.
     */
    do_action( 'pvc_import_before_provider', [ 'mode' => $mode, 'provider' => $provider_slug, 'strategy' => $strategy ], $this );
  • includes/class-counter.php line 950 · used in 2 places
    /**
     * Fires when a new anonymous session is created.
     */
    do_action( 'pvc_session_created', $session_state, $content_id, $content_type );
  • includes/class-status-facts.php line 241
    /**
     * Filter the recognized security plugin names shown on the Status tab.
     */
    apply_filters( 'pvc_active_security_plugins', $plugins );
  • includes/class-emails-mailer.php line 589
    /**
     * Filters the BCC recipients for an email summary.
     */
    apply_filters( 'pvc_email_summary_bcc_recipients', $bcc_recipients, $period, $summary_type );
  • includes/class-emails-mailer.php line 561
    /**
     * Filters the CC recipients for an email summary.
     */
    apply_filters( 'pvc_email_summary_cc_recipients', $cc_recipients, $period, $summary_type );
  • includes/class-traffic-signals.php line 78
    /**
     * Filter whether traffic signals should be enabled.
     */
    apply_filters( 'pvc_enable_traffic_signals', true );
  • includes/class-import.php line 2377
    /**
     * Filter provider content mapping so it's possible to process non-post URLs.
     */
    apply_filters( 'pvc_import_map_target_to_content', $content, $target, $provider, $tracked_post_types, $this );
  • includes/class-import.php line 377
    /**
     * Filter import provider description parts.
     */
    apply_filters( 'pvc_import_provider_description_parts', $parts, [ 'provider' => sanitize_key( $provider ), 'supports' => array_values( array_filter( array_map( 'sanitize_key', (array) $supports ) ) ) ], $this );
  • includes/class-import.php line 1800
    /**
     * Filter the SQL query used when inserting provider data.
     */
    apply_filters( 'pvc_import_provider_query', $query, [ 'strategy' => sanitize_key( $strategy ), 'provider' => $provider, 'sql_parts' => $sql_parts, 'on_duplicate' => $on_duplicate ], $this );
  • includes/class-import.php line 247
    /**
     * Filter the available import strategies.
     */
    apply_filters( 'pvc_import_strategies', $this->import_strategies, $this );
  • includes/class-import.php line 1749
    /**
     * Filter the SQL ON DUPLICATE KEY UPDATE clause used during import.
     */
    apply_filters( 'pvc_import_strategy_clause', $clause, [ 'strategy' => $strategy_key, 'provider' => $provider ], $this );
  • includes/class-settings-other.php line 378
    /**
     * Filter the plugin status rows.
     */
    apply_filters( 'pvc_plugin_status_rows', $rows, $this->settings );
  • includes/class-settings-other.php line 401
    /**
     * Filter the database tables to check for plugin status.
     */
    apply_filters( 'pvc_plugin_status_tables', [], $this->settings );
  • includes/functions.php line 314
    /**
     * Fires when a post Views read failed and its 0 is not a stored total, so a
     * screen that offers the total for editing can show it as unavailable instead.
     */
    do_action( 'pvc_post_views_read_failed', $post_id, $period );
  • includes/class-settings-status.php line 1321
    /**
     * Filter the checks an extension adds to the Status tab.
     */
    apply_filters( 'pvc_status_checks', [] );
  • includes/class-status-delivery.php line 97
    /**
     * Filter the delivery probe of the active counting mode, for an extension
     * whose handler counts in it. Return an array with: - url (string): an http or
     * https URL on this site's host. - method (string): POST or GET. - body
     * (array): at most ten string fields, for POST only; a GET probe carries its
     * query in url. - shape (string): how the handler answers, with a JSON content
     * type: ajax, a refusal whos...
     */
    apply_filters( 'pvc_status_delivery_probe', null, $mode );
  • includes/class-status-delivery.php line 157
    /**
     * Filter the probe of a display endpoint that loads values into cached pages.
     * The array has the fields of pvc_status_delivery_probe (url, method, body,
     * shape, status, code) and must name a request the endpoint answers without
     * counting; the marker is not used. Anything else, or an invalid array, is
     * ignored.
     */
    apply_filters( 'pvc_status_display_probe', null );
  • includes/functions.php line 759
    /**
     * Fires when a Views read failed and its zeros are not stored totals, so a
     * diagnostic can show the read as unavailable.
     */
    do_action( 'pvc_views_read_failed', $args );
  • includes/class-columns-modal.php line 47 · used in 13 places
    apply_filters( 'pvc_admin_display_post_views', true );
  • includes/class-settings-api.php line 1077 · used in 13 places
    apply_filters( 'pvc_settings_capability', 'manage_options' );
  • includes/class-visits-query.php line 783 · used in 7 places
    apply_filters( 'pvc_visits_object_cache_expire', 300 );
  • includes/class-columns.php line 184 · used in 6 places
    apply_filters( 'pvc_restrict_edit_capability', 'manage_options' );
  • includes/class-query.php line 269 · used in 5 places
    apply_filters( 'pvc_extend_post_object', false, $query );
  • includes/class-counter.php line 3613 · used in 5 places
    apply_filters( 'pvc_object_cache_expire', 300 );
  • includes/class-emails-template.php line 1285 · used in 4 places
    apply_filters( 'pvc_email_summary_traffic_signals_html', $rendered, $data, $settings, $summary_type, $this );
  • includes/class-emails-period.php line 39 · used in 3 places
    apply_filters( 'pvc_email_summary_period', $period, 'weekly', $now, $this );
  • includes/class-emails-template.php line 1261 · used in 3 places
    apply_filters( 'pvc_email_summary_traffic_signals_text', $rendered, $data, $settings, $summary_type, $this );
  • includes/class-counter.php line 3626 · used in 3 places
    apply_filters( 'pvc_get_post_views', $value, $id, $period, [] );
  • includes/class-dashboard.php line 75 · used in 3 places
    apply_filters( 'pvc_user_can_see_stats', current_user_can( 'publish_posts' ) );
  • includes/class-counter.php line 2986 · used in 2 places
    apply_filters( 'pvc_core_flush_lock_ttl', 300 );
  • includes/class-dashboard.php line 661 · used in 2 places
    apply_filters( 'pvc_dashboard_widget_default_period', 'this_month', 'post-views' );
  • includes/class-emails-period.php line 102 · used in 2 places
    apply_filters( 'pvc_email_summary_supported_types', [ 'weekly' ] );
  • pvc_get_views

    filter
    includes/functions.php line 706 · used in 2 places
    apply_filters( 'pvc_get_views', $args['fields'] === 'date=>views' && ! empty( $range ) ? $range : 0 );
  • includes/functions.php line 873 · used in 2 places
    apply_filters( 'pvc_get_visits', [ 'values' => $values, 'availability' => $availability ], $args );
  • includes/class-import.php line 1120 · used in 2 places
    do_action( 'pvc_import_after_provider', [ 'strategy' => $strategy, 'source' => 'statify', 'use_gmt' => $source['use_gmt'] ] );
  • includes/class-import.php line 1151 · used in 2 places
    apply_filters( 'pvc_import_message_stats', $message_stats, [ 'mode' => $mode, 'source' => 'statify' ] );
  • includes/class-counter.php line 3291 · used in 2 places
    apply_filters( 'pvc_ip_resolution_strategy', 'remote_addr' );
  • includes/class-counter.php line 466 · used in 2 places
    apply_filters( 'pvc_run_check_post', true, $post_id );
  • includes/class-frontend.php line 488 · used in 2 places
    apply_filters( 'pvc_shortcode_filter_hook', Post_Views_Counter()->options['display']['position'] );
  • includes/class-counter.php line 2263 · used in 2 places
    apply_filters( 'pvc_skip_single_query', false, $data['content_id'], $type, $period, $data['increment'], 'post', $visits_delta );
  • includes/class-settings-api.php line 1172
    do_action( "{$this->prefix}_configuration_updated", 'settings', $input );
  • includes/class-settings-api.php line 482
    apply_filters( "{$this->prefix}_settings_data", [] );
  • includes/class-settings-api.php line 416
    do_action( "{$this->prefix}_settings_form", $setting, $page_type, $url_page, $tab_key );
  • includes/class-settings-api.php line 359
    apply_filters( "{$this->prefix}_settings_page_class", [ $this->slug . '-settings', $tab_key . '-settings', $this->prefix . '-settings' ] );
  • includes/class-settings-api.php line 209
    apply_filters( "{$this->prefix}_settings_pages", [] );
  • includes/class-settings-api.php line 517
    apply_filters( "{$this->prefix}_settings_section_prefix", $this->prefix );
  • includes/class-settings-api.php line 377
    do_action( "{$this->prefix}_settings_sidebar", $setting, $page_type, $url_page, $tab_key );
  • includes/class-visits.php line 3113
    do_action( "add_option_{$name}", $name, $value );
  • added_option

    action
    includes/class-visits.php line 3114
    do_action( 'added_option', $name, $value );
  • includes/class-functions.php line 58
    apply_filters( 'editable_roles', $wp_roles->roles );
  • includes/functions.php line 1138
    apply_filters( 'excerpt_length', 55 );
  • excerpt_more

    filter
    includes/functions.php line 1138
    apply_filters( 'excerpt_more', ' ' . '[…]' );
  • includes/class-status-delivery.php line 484
    apply_filters( 'nonce_user_logged_out', 0, 'wp_rest' );
  • includes/class-settings.php line 339
    apply_filters_deprecated( 'post_views_counter_settings_data', [ $settings ], '1.7.1', 'pvc_settings_data' );
  • includes/class-settings.php line 790
    apply_filters_deprecated( 'post_views_counter_settings_pages', [ $pages ], '1.7.1', 'pvc_settings_pages' );
  • includes/class-settings-general.php line 781
    apply_filters( 'pvc_active_caching_plugins', $active_plugins );
  • includes/class-dashboard.php line 125
    apply_filters( 'pvc_admin_dashboard_script_data', $script_data );
  • includes/class-columns.php line 166
    apply_filters( 'pvc_admin_display_views', true, $post->ID );
  • includes/class-counter.php line 2215
    do_action( 'pvc_after_count_visit', $post_id, 'post' );
  • includes/class-columns.php line 423
    do_action( 'pvc_after_update_post_views_count', $post_id );
  • includes/class-functions.php line 38
    apply_filters( 'pvc_available_post_types', $post_types );
  • includes/class-counter.php line 259
    do_action( 'pvc_before_check_visit', $post_id, $user_id, $user_ip, 'post', $hook_content_data );
  • includes/class-counter.php line 305
    do_action( 'pvc_before_count_visit', $post_id, $user_id, $user_ip, 'post', $hook_content_data );
  • post-views-counter.php line 542
    apply_filters( 'pvc_block_editor_data', $script_data );
  • includes/class-counter.php line 2580
    apply_filters( 'pvc_core_flush_batch_rows', 100 );
  • includes/class-counter.php line 265
    apply_filters( 'pvc_count_conditions_met', true, $post_id, $user_id, $user_ip, 'post', $hook_content_data );
  • includes/class-counter.php line 300
    apply_filters( 'pvc_count_visit', $count_visit, $post_id, $user_id, $user_ip, 'post', $hook_content_data );
  • includes/class-counter.php line 2214
    apply_filters( 'pvc_count_visit_multi', [ $this, 'count_visit_multi' ] );
  • includes/class-frontend.php line 470
    apply_filters( 'pvc_counter_html', $html, [ 'views' ], $content_id, $content_type, $period );
  • includes/class-frontend.php line 261
    apply_filters( 'pvc_counter_icon', $icon, $metric, $content_id, $content_type );
  • includes/class-frontend.php line 246
    apply_filters( 'pvc_counter_icon_class', '', $metric, $content_id, $content_type );
  • includes/class-crawler-detect.php line 191
    apply_filters( 'pvc_crawlers_list', $this->crawlers );
  • includes/class-functions.php line 146
    apply_filters( 'pvc_current_scheme_color', $color );
  • includes/class-dashboard.php line 1307
    apply_filters( 'pvc_dashboard_post_most_viewed_data', $data, $args );
  • includes/class-dashboard.php line 1231
    apply_filters( 'pvc_dashboard_post_most_viewed_query_args', [ 'post_type' => $post_types, 'posts_per_page' => 10, 'paged' => false, 'suppress_filters' => false, 'no_found_rows' => true, 'views_query' => [ 'year' => $year, 'month' => $month, 'hide_empty' => true ] ], $period );
  • includes/class-dashboard.php line 948
    apply_filters( 'pvc_dashboard_post_views_data', $data, $args );
  • includes/class-dashboard.php line 826
    apply_filters( 'pvc_dashboard_post_views_query_args', $core_query_args, $period );
  • includes/class-dashboard.php line 557
    apply_filters( 'pvc_dashboard_visit_series_sql', $query, $args, $buckets );
  • includes/class-dashboard.php line 312
    do_action( 'pvc_dashboard_widget_content_bottom', $item['id'] );
  • includes/class-dashboard.php line 359
    do_action( 'pvc_dashboard_widget_content_insights', $widget_id );
  • includes/class-dashboard.php line 287
    do_action( 'pvc_dashboard_widget_content_top', $item['id'] );
  • includes/class-dashboard.php line 1330
    apply_filters( 'pvc_dashboard_widget_generate_months_formatted', [ 'prev' => '<a class="prev" href="#" data-date="' . ( $dates[0][2] . $dates[0][0] ) . '">‹ ' . $dates[0][1] . ' ' . $dates[0][2] . '</a>', 'current' => '<span class="current">' . $dates[1][1] . ' ' . $dates[1][2] . '</span>', 'next' => $next ], $timestamp, $item );
  • includes/class-dashboard.php line 1336
    apply_filters( 'pvc_dashboard_widget_generate_months_html', $dates_formatted['prev'] . $dates_formatted['current'] . $dates_formatted['next'], $timestamp, $item );
  • includes/class-dashboard.php line 160
    apply_filters( 'pvc_dashboard_widget_items', [] );
  • includes/class-counter.php line 2442
    apply_filters( 'pvc_delete_post_views_where_clause', $data, $post_id );
  • includes/functions.php line 1092
    apply_filters( 'pvc_display_period_options', [ 'total' => __( 'Total Views', 'post-views-counter' ) ] );
  • includes/class-toolbar.php line 33
    apply_filters( 'pvc_display_toolbar_statistics', $pvc->options['display']['toolbar_statistics'] );
  • includes/class-frontend.php line 578
    apply_filters( 'pvc_display_views_count', $display );
  • includes/class-emails-mailer.php line 312
    do_action( 'pvc_email_summary_before_query', $context, $this );
  • includes/class-emails-query.php line 55
    apply_filters( 'pvc_email_summary_cache_ttl', 300, $query_args, $period, $this );
  • includes/class-emails-query.php line 60
    apply_filters( 'pvc_email_summary_data', $data, $period, $query_args, $this );
  • includes/class-emails-mailer.php line 814
    do_action( 'pvc_email_summary_delivery_finalized', $result, $settings, $period, $source, $is_test, $summary_type, $this );
  • includes/class-emails-mailer.php line 797
    do_action( 'pvc_email_summary_failed', $result['data'], $result['recipient'], $result['headers'], $error, $summary_type );
  • includes/class-emails-mailer.php line 897
    apply_filters( 'pvc_email_summary_from_name', $from_name, $data, $summary_type );
  • includes/class-emails-template.php line 198
    apply_filters( 'pvc_email_summary_html', $html, $data, $summary_type );
  • includes/class-emails-mailer.php line 693
    apply_filters( 'pvc_email_summary_is_duplicate_period', $is_duplicate, $summary_type, $period, $settings, $this );
  • includes/class-emails-mailer.php line 344
    apply_filters( 'pvc_email_summary_lock_ttl', 15 * MINUTE_IN_SECONDS, $context, $this );
  • includes/class-emails.php line 65
    apply_filters( 'pvc_email_summary_normalized_data', $data, $summary_type, $this );
  • includes/class-emails-template.php line 201
    apply_filters( 'pvc_email_summary_plain_text', $plain_text, $data, $summary_type );
  • includes/class-emails-template.php line 66
    apply_filters( 'pvc_email_summary_pro_template_tags', [ '%%content_performance_summary%%', '%%monthly_report_summary%%', '%%top_gainers%%', '%%top_decliners%%', '%%rolling_average_summary%%', '%%projection_summary%%', '%%top_authors%%', '%%top_terms%%', '%%top_sources%%', '%%device_summary%%', '%%browser_summary%%', '%%language_summary%%', '%%suggested_actions%%' ] );
  • includes/class-emails-query.php line 120
    apply_filters( 'pvc_email_summary_query_args', $query_args, $period, $settings, $this );
  • includes/class-emails-mailer.php line 478
    apply_filters( 'pvc_email_summary_recipient', (string) $recipient, $period, $summary_type );
  • includes/class-emails-template.php line 1470
    apply_filters( 'pvc_email_summary_report_label', $label, $cadence, $data, $summary_type );
  • includes/class-emails-template.php line 1192
    apply_filters( 'pvc_email_summary_report_summary_html', $rendered, $data, $settings, $summary_type, $this );
  • includes/class-emails-template.php line 1162
    apply_filters( 'pvc_email_summary_report_summary_text', $rendered, $data, $settings, $summary_type, $this );
  • includes/class-emails-template.php line 1485
    apply_filters( 'pvc_email_summary_report_type_label', $label, $cadence, $data, $summary_type );
  • includes/class-emails-scheduler.php line 161
    apply_filters( 'pvc_email_summary_schedule_enabled', $enabled, $settings );
  • includes/class-emails-scheduler.php line 207
    apply_filters( 'pvc_email_summary_schedule_recurrence', 'post_views_counter_weekly', $settings );
  • includes/class-emails-scheduler.php line 148
    apply_filters( 'pvc_email_summary_schedule_timestamp', $timestamp, $settings );
  • includes/class-emails-mailer.php line 180
    do_action( 'pvc_email_summary_sent', $data, $context['recipient'], $result['headers'], $mail_result, $context['summary_type'] );
  • includes/class-emails-mailer.php line 304
    apply_filters( 'pvc_email_summary_should_flush_pending_counts', true, $context, $this );
  • includes/class-emails-mailer.php line 141
    apply_filters( 'pvc_email_summary_should_send', true, $data, $context['settings'], $context['summary_type'] );
  • includes/class-emails-template.php line 197
    apply_filters( 'pvc_email_summary_subject', $subject, $data, $summary_type );
  • includes/class-emails-mailer.php line 533
    apply_filters( 'pvc_email_summary_supports_additional_recipients', false, $settings, $this );
  • includes/class-emails-template.php line 247
    apply_filters( 'pvc_email_summary_template_tags', $tags, $data, $summary_type );
  • includes/class-frontend.php line 620
    apply_filters( 'pvc_enqueue_styles', true );
  • includes/class-traffic-signals.php line 757
    do_action( 'pvc_flush_signals_cache' );
  • includes/class-frontend.php line 672
    apply_filters( 'pvc_frontend_script_args', $args, 'standard' );
  • includes/class-frontend.php line 165
    apply_filters( 'pvc_frontend_template_html', $html, $format, $content_id, $content_type, $period, $metrics );
  • includes/class-settings-general.php line 60
    apply_filters( 'pvc_get_counter_modes', $modes );
  • includes/class-crawler-detect.php line 158
    apply_filters( 'pvc_get_crawler_regex', null, $list );
  • includes/class-crawler-detect.php line 174
    apply_filters( 'pvc_get_exclusions_regex', null, $this->exclusions );
  • includes/functions.php line 1059
    apply_filters( 'pvc_get_most_viewed_posts', get_posts( $args ), $args );
  • includes/functions.php line 1051
    apply_filters( 'pvc_get_most_viewed_posts_args', $args );
  • includes/functions.php line 165
    apply_filters( 'pvc_get_post_views_period_where', $where, $period, $post_id, $filter_args );
  • includes/functions.php line 380
    apply_filters( 'pvc_get_views_args', $args );
  • includes/functions.php line 957
    apply_filters( 'pvc_get_views_per_visit', (int) $row['views'] / $visits, $args, $availability );
  • includes/functions.php line 426
    apply_filters( 'pvc_get_views_period_where', $where, $args );
  • includes/functions.php line 701
    apply_filters( 'pvc_get_views_query_sql', $query, $args, $views_query );
  • includes/class-import.php line 1283
    apply_filters( 'pvc_import_handle_non_post_row', false, $non_post_context, $this );
  • includes/class-import.php line 196
    apply_filters( 'pvc_import_provider_supports', $supports, $slug );
  • includes/class-import.php line 113
    apply_filters( 'pvc_import_providers', [] );
  • includes/class-integrations.php line 24
    apply_filters( 'pvc_integrations', self::get_base_integrations() );
  • includes/class-settings-general.php line 848
    apply_filters( 'pvc_is_plugin_active', false, $plugin );
  • includes/class-counter.php line 431
    apply_filters( 'pvc_is_posts_page', $result, $object );
  • includes/class-functions.php line 414
    apply_filters( 'pvc_metric_dataset_style', $style, $metric, $type, $context );
  • includes/functions.php line 1089
    apply_filters( 'pvc_most_viewed_posts_args', wp_parse_args( $args, $defaults ) );
  • includes/functions.php line 1155
    apply_filters( 'pvc_most_viewed_posts_html', $html, $args );
  • includes/functions.php line 1144
    apply_filters( 'pvc_most_viewed_posts_item_after', $args['item_after'], $post );
  • includes/functions.php line 1121
    apply_filters( 'pvc_most_viewed_posts_item_before', $args['item_before'], $post );
  • includes/class-settings-display.php line 304
    apply_filters( 'pvc_page_types_display_options', [ 'home' => __( 'Home', 'post-views-counter' ), 'archive' => __( 'Archives', 'post-views-counter' ), 'singular' => __( 'Single posts and pages', 'post-views-counter' ), 'search' => __( 'Search results', 'post-views-counter' ), ] );
  • includes/functions.php line 1297
    apply_filters( 'pvc_period2date', $datetime, $period );
  • includes/functions.php line 337
    apply_filters( 'pvc_post_views_has_content_column', $has_content_column );
  • includes/class-counter.php line 3536
    apply_filters( 'pvc_post_views_number_format', $display_value, $id );
  • includes/class-frontend.php line 80
    apply_filters( 'pvc_post_views_shortcode', $html, $atts );
  • includes/class-frontend.php line 57
    apply_filters( 'pvc_post_views_shortcode_atts', $atts, $raw_args, $defaults );
  • includes/class-cron.php line 47
    apply_filters( 'pvc_reset_counts_where_clause', $where );
  • includes/class-counter.php line 588
    apply_filters( 'pvc_rest_api_count_post_check', true, $request, $post_id );
  • includes/class-counter.php line 3462
    apply_filters( 'pvc_rest_api_get_post_views_args', [ 'id' => [ 'default' => 0 ], 'metric' => [], 'period' => [ 'default' => 'total' ], 'type' => [ 'default' => 'post' ] ] );
  • includes/class-counter.php line 3663
    apply_filters( 'pvc_rest_api_get_post_views_check', $default, $request );
  • includes/class-counter.php line 3433
    apply_filters( 'pvc_rest_api_view_post_args', [ 'id' => [ 'default' => 0, 'sanitize_callback' => 'absint' ], 'storage_type' => [ 'default' => 'cookies' ], 'storage_data' => [ 'default' => '' ], 'storage_data_all' => [ 'default' => '' ], 'storage_capable' => [ 'sanitize_callback' => 'rest_sanitize_boolean' ] ] );
  • includes/class-counter.php line 3678
    apply_filters( 'pvc_rest_api_view_post_check', $default, $request );
  • includes/class-settings-status.php line 122
    apply_filters( 'pvc_settings_section_prefix', 'pvc' );
  • includes/class-counter.php line 1821
    apply_filters( 'pvc_storage_buckets', [ 'post' => [] ] );
  • includes/class-counter.php line 3311
    apply_filters( 'pvc_trusted_proxy_cidrs', [] );
  • includes/class-dashboard.php line 1450
    apply_filters( 'pvc_update_dashboard_user_options', $user_options, $update, $user_id );
  • includes/functions.php line 1201
    apply_filters( 'pvc_update_post_views', $post_id );
  • includes/functions.php line 1192
    apply_filters( 'pvc_update_post_views_count', $post_views, $post_id );
  • includes/class-counter.php line 1239
    apply_filters( 'pvc_use_session_storage_payload_writes', $this->is_active_session_storage_payload_writes() );
  • includes/class-counter.php line 2183
    apply_filters( 'pvc_views_increment_amount', 1, $post_id, 'post' );
  • widget_title

    filter
    includes/class-widgets.php line 129
    apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );

Generated from Post Views Counter'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: