wpcom_newsletter_categories_location
wpcom_newsletter_categories_location
Appears in: jetpack.12.7.1, jetpack.12.8
Hook Type: filter
Displaying hooks found in version: jetpack.12.8apply_filters('wpcom_newsletter_categories_location') is found 1 times:
- /extensions/blocks/subscriptions/subscriptions.php line 281
* @return array */ function get_newsletter_categories() { // opt out of rendering when we display newsletter catgeories in the subscribe modal $should_render_newsletter_categories = apply_filters( 'wpcom_newsletter_categories_location', 'block' ) === 'block'; if ( ! $should_render_newsletter_categories ) { return array(); } $response = fetch_newsletter_categories();