woocommerce_style_smallscreen_breakpoint
Usage
add_filter( 'woocommerce_style_smallscreen_breakpoint', 'wp_kama_woocommerce_style_smallscreen_breakpoint_filter' );
/**
* Function for `woocommerce_style_smallscreen_breakpoint` filter-hook.
*
* @param $string
*
* @return
*/
function wp_kama_woocommerce_style_smallscreen_breakpoint_filter( $string ){
// filter...
return $string;
}
- $string
- -
Where the hook is called
woocommerce_style_smallscreen_breakpoint
woocommerce/includes/class-wc-frontend-scripts.php 90
'media' => 'only screen and (max-width: ' . apply_filters( 'woocommerce_style_smallscreen_breakpoint', '768px' ) . ')',