wc_autoship_theme_template (filter)

Override the default WC Autoship Theme.

Example

<?php

/**
* @param string $theme_template
* @return string 
*/
function wc_autoship_theme_template_example( $theme_template ) {
  $my_custom_template = 'path/to/my/theme.php';
  return $my_custom_template;
}
add_filter( 'wc_autoship_theme_template', 'wc_autoship_theme_template_example', 10, 1 );

Still need help? Contact Us Contact Us