From bbda70d9674eff5f95878025154fa4c4254dabd7 Mon Sep 17 00:00:00 2001 From: Ajay D'Souza Date: Wed, 4 Sep 2024 21:57:42 +0100 Subject: [PATCH] Fixes bugs --- includes/frontend/class-shortcodes.php | 1 - includes/frontend/class-styles-handler.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/frontend/class-shortcodes.php b/includes/frontend/class-shortcodes.php index 1e109e8..ba30c19 100644 --- a/includes/frontend/class-shortcodes.php +++ b/includes/frontend/class-shortcodes.php @@ -25,7 +25,6 @@ class Shortcodes { */ public function __construct() { add_shortcode( 'wzpa_popular_authors', array( __CLASS__, 'wzpa_popular_authors' ) ); - add_shortcode( 'tptn_views', array( __CLASS__, 'tptn_views' ) ); } /** diff --git a/includes/frontend/class-styles-handler.php b/includes/frontend/class-styles-handler.php index 0316010..d53255b 100644 --- a/includes/frontend/class-styles-handler.php +++ b/includes/frontend/class-styles-handler.php @@ -94,6 +94,6 @@ public static function get_style( $style = '' ) { * @param array $style_array Style array containing name and extra_css. * @param string $wzpa_style Style name. */ - return apply_filters( 'tptn_get_style', $style_array, $wzpa_style ); + return apply_filters( 'wzpa_get_style', $style_array, $wzpa_style ); } }