Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_filter( 'automatewoo/variables', 'my_automatewoo_variables' );
- /**
- * @param $variables array
- * @return array
- */
- function my_automatewoo_variables( $variables ) {
- $variables['order']['my_custom_date'] = dirname(__FILE__) . '/variable-my-custom-date.php';
- return $variables;
- }
Add Comment
Please, Sign In to add comment