WordPress at Your Fingertips
function is not described

WC_Twenty_Nineteen::tweak_theme_features() public WC 1.0

Tweak Twenty Nineteen features.

{} It's a method of the class: WC_Twenty_Nineteen{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Twenty_Nineteen::tweak_theme_features();

Code of WC_Twenty_Nineteen::tweak_theme_features() WC 5.9.0

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