Created
June 28, 2024 04:50
-
-
Save pickplugins/cef56f5aea50d7b4d5d51e5a888265f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action('wcps_layout_element_post_title', 'wcps_layout_element_post_title_20200331', 90); | |
| function wcps_layout_element_post_title_20200331($args) | |
| { | |
| $product_id = isset($args['product_id']) ? $args['product_id'] : ''; | |
| $elementData = isset($args['elementData']) ? $args['elementData'] : array(); | |
| $element_index = isset($args['element_index']) ? $args['element_index'] : ''; | |
| $product = new WC_Product($product_id); | |
| ?> | |
| <div class=""> | |
| <?php | |
| wc_display_product_attributes($product) | |
| ?> | |
| </div> | |
| <?php | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment