From 4c2290ce5a76ee79c7a3c78ceb33558b4a11e1e0 Mon Sep 17 00:00:00 2001 From: Ajay D'Souza Date: Fri, 30 Aug 2024 20:54:25 +0100 Subject: [PATCH] Updated readme. --- includes/class-tracker.php | 2 ++ readme.txt | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/includes/class-tracker.php b/includes/class-tracker.php index fb876a2..dd67e57 100644 --- a/includes/class-tracker.php +++ b/includes/class-tracker.php @@ -111,6 +111,8 @@ public static function enqueue_scripts() { * The corresponding tracker can use the below variables or append their own to $ajax_tptn_tracker * * @since 2.0 + * + * @param string $home_url URL of the tracker. */ $home_url = apply_filters( 'tptn_add_counter_script_url', $home_url ); diff --git a/readme.txt b/readme.txt index de5c1ce..d85e93f 100644 --- a/readme.txt +++ b/readme.txt @@ -150,13 +150,14 @@ add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sorta * Features: * New REST API route (counter) to get the post count for a post. * New block: Top 10 Post Count Block that allows you to display the post count for a post. - * [Pro] New Top 10 Query Block that allows you to query related posts using a block in the block or site editor. + * [Pro] New Top 10 Query Block that allows you to query popular posts using a block in the block or site editor. * [Pro] New Top 10 Featured Image Block that is an advanced version of the featured image block that supports multiple different image sources. * [Pro] Pro version adds additional features to the Popular Posts block: * New buttons to save default block settings and clear them. * Inserting the block will also insert the attributes for the default and global settings automatically. This can be disabled in the settings page under the **Posts List** tab. * [Pro] New menu item in the admin bar to display the daily, total and overal post counts as well as link to the Top 10 admin pages and clear the Top 10 cache. - * [Pro] New parameter `display_only_on_tax_ids` to display related posts only on specific taxonomy terms + * [Pro] New parameter `display_only_on_tax_ids` to display popular posts only on specific taxonomy terms. + * [Pro] New Fast Tracker that significantly speeds up the tracking of post views vs the other trackers. Select this from your settings page. * New filters `top_ten_query_exclude_terms_include_parents` and `top_ten_query_include_terms_include_parents` to include parent terms when querying posts. In the Pro version, you can turn this on in the settings page. * New `get_tptn_short_circuit` filter to short-circuit the plugin's output. * [Pro] New setting "Display columns on post types" to select the post types screens on which the admin columns should be displayed.