Skip to content

Commit

Permalink
remove deprecated "statify_skip_tracking" filter (#285)
Browse files Browse the repository at this point in the history
This filter is deprecated since 1.5.0 with "statify__skip_tracking" as
direct replacement. Remove it.
  • Loading branch information
stklcode committed Mar 14, 2024
1 parent c0b8077 commit 9e96624
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions inc/class-statify.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ public static function user_can_see_stats() {
* @since 2.0.0 Migration from Statify_Frontend to Statify class.
*/
private static function skip_tracking() {
if ( function_exists( 'apply_filters_deprecated' ) ) {
apply_filters_deprecated( 'statify_skip_tracking', array( '' ), '1.5.0', 'statify__skip_tracking' );
}
// Skip tracking via Hook.
$skip_hook = apply_filters( 'statify__skip_tracking', null );
if ( null !== $skip_hook ) {
Expand Down

0 comments on commit 9e96624

Please sign in to comment.