apply_filters ( 'minileven_show_featured_images', bool $enabled )

Filter where featured images are displayed in the Mobile Theme.<p>By setting $enabled to true or false using functions like is_home() or is_archive(), you can control where featured images are be displayed.</p>

Source file: modules/minileven/theme/pub/minileven/functions.php

View in GitHub

Parameters

$enabled

(bool) True if featured images should be displayed, false if not.


Changelog

Since: Jetpack 3.2.0


Notes

One could use this filter to always hide the Featured Images from the Mobile Theme, regardless of the options picked in the dashboard:

add_filter( 'minileven_show_featured_images',  '__return_false' );

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s