Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'woocommerce_before_single_product', 'variable_function', 15 );
- function variable_function() {
- echo 'this is the first message';
- }
- add_action( 'woocommerce_before_add_to_cart_form', 'variable_function', 15 );
- function variable_function() {
- echo 'This is a second message';
- }
- add_action( 'woocommerce_before_single_product', 'variable_function'.$randomn_info, 15 );
- function variable_function.$randomn_info() {
- echo 'this is the first message';
- }
Add Comment
Please, Sign In to add comment