add_action( 'template_redirect', 'avada_check_page' ); function avada_check_page() { if ( is_singular( 'product' ) ) {
Screen Shot 2017-10-24 at 16.13.42 2017-10-24T15:17:15+00:00