WordPress filter hook

themeisle_sdk_is_black_friday_sale

Fired by 6 WordPress plugins, running on 302K+ sites between them.

“The black friday sale period flag.”

How to use themeisle_sdk_is_black_friday_sale

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'themeisle_sdk_is_black_friday_sale', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from Optimole's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

6 plugins that fire themeisle_sdk_is_black_friday_sale

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Optimole icon Optimole200,000+ installs apply_filters( 'themeisle_sdk_is_black_friday_sale', false ) inc/admin.php:1745
  2. RSS Aggregator by Feedzy icon RSS Aggregator by Feedzy40,000+ installs apply_filters( 'themeisle_sdk_is_black_friday_sale', false ) includes/admin/feedzy-rss-feeds-admin.php:1270
  3. Revive Social icon Revive Social20,000+ installs apply_filters( 'themeisle_sdk_is_black_friday_sale', false ) includes/admin/class-rop-admin.php:1905
  4. Visualizer icon Visualizer20,000+ installs apply_filters( 'themeisle_sdk_is_black_friday_sale', false ) classes/Visualizer/Module/Admin.php:1411
  5. PPOM icon PPOM20,000+ installs apply_filters( 'themeisle_sdk_is_black_friday_sale', false ) classes/admin.class.php:162
  6. MPG icon MPG2,000+ installs apply_filters( 'themeisle_sdk_is_black_friday_sale', false ) helpers/Themeisle.php:106

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.