Adds a "Black Friday" template name to the array of available landing page templates for Sitewide Sales: https://sitewidesales.com
<?php | |
/* | |
* Filters the array of available landing page templates for Sitewide Sales (https://sitewidesales.com). | |
* | |
* @param array $templates The default list of available templates. | |
*/ | |
function add_custom_swsales_landing_page_templates( $templates ) { | |
$templates['black-friday'] = 'Black Friday'; // This is how you add a new template to the array. | |
//unset( $templates['neon'] ); // This is how you unset an included template from the array. | |
return $templates; | |
} | |
add_filter( 'swsales_landing_page_templates', 'add_custom_swsales_landing_page_templates' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment