WC_Twenty_Nineteen::tweak_theme_features()public staticWC 1.0

Tweak Twenty Nineteen features.

Method of the class: WC_Twenty_Nineteen{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Twenty_Nineteen::tweak_theme_features();

WC_Twenty_Nineteen::tweak_theme_features() code WC 9.3.3

public static function tweak_theme_features() {
	if ( is_woocommerce() ) {
		add_filter( 'twentynineteen_can_show_post_thumbnail', '__return_false' );
	}
}