Skip to content

Commit 4722e54

Browse files
chore: function usage
1 parent 971e1a2 commit 4722e54

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

includes/admin/feedzy-rss-feeds-admin.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ function( $data, $page_slug ) {
9191
$this->add_banner_anchor();
9292
}
9393

94-
if ( in_array( $page_slug, array( 'imports', 'categories', 'settings' ), true ) ) {
95-
apply_filters( 'themeisle_sdk_blackfriday_data', array( $this, 'set_black_friday_data' ), 99 );
96-
}
94+
add_filter( 'themeisle_sdk_blackfriday_data', array( $this, 'set_black_friday_data' ), 99 );
9795

9896
if (
9997
in_array( $page_slug, array( 'imports', 'new-category', 'settings' ), true )

0 commit comments

Comments
 (0)