WC_Twenty_Nineteen::tweak_theme_features
Tweak Twenty Nineteen features.
Method of the class: WC_Twenty_Nineteen{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_Twenty_Nineteen::tweak_theme_features();
WC_Twenty_Nineteen::tweak_theme_features() WC Twenty Nineteen::tweak theme features code WC 10.3.6
public static function tweak_theme_features() {
if ( is_woocommerce() ) {
add_filter( 'twentynineteen_can_show_post_thumbnail', '__return_false' );
}
}