A look at the documentation or the source is always helpful. I guess, the correct file to refer to would have been product-attributes.php. For getting the product attributes this is available: get_attribute() ; to list them list_attributes() can be used, which makes use of the product-attributes.php template. You can use those and then hook into the fitting one to display the attributes. To learn more about hooks give the Plugin API a good thorough read.
Related Posts:
- Registering Class methods as hook callbacks
- How to customize woocommerce related products? [closed]
- Changing the “Plugin Activated” Message Default
- Hooking in to plugins
- Generate dormant hook references
- Better to fire specific hooks or generic hooks with parameters?
- How to only hook on Single.php after content?
- How to save the values of checkbox to the register setting?
- Can we hook a static method of a class to add_action inside that class?
- Edit plugin without hooks in functions.php
- How can I log a user out of WordPress before the page loads?
- What is the ‘admin_action_’ . $_REQUEST[‘action’] hook used for?
- Filter out results from REST API
- How can I remove a hooked action created by a plugin?
- Enqueue style inside shortcode but its loaded at the bottom of page (before footer scripts)
- Seeking clarification on page request life-cycle
- Good tools for locating hooks in a wordpress page/admin interface/blog post?
- disable active plugins for specific theme
- Twillio How To Send SMS for Custom Post Type
- Hide WordPress Plugin Deactivation Links
- Find out if request is for custom post type archive before query runs
- Pass A Value From Outside To A Plugin Variable
- Built in admin ajax hooks?
- Does the ‘nav_menu_css_class’ filter accept 2 or 3 arguments?
- do_action and hook methods
- the_posts hook, which set of posts?
- Is it possible to add an action to the currently running action?
- OOP: Display warning and deactivate the plugin if PHP version is less than 5.4
- Over write plugin templates
- How to find out what blocks are added by a plugin
- How to prevent action in ajax request, when in admin side?
- Easy Digital Downloads (EDD) – Purchase Receipt emails couldn’t be logged
- what the hook for displaying course list page for learndash plugin? [closed]
- How to add rewrite rules and pagination to retrieve attachments files?
- Can I use a method from an existing plugin as an action hook?
- What are the benefit in adding hook in the init() hook?
- Reposition Woocommerce Message
- What are ideal hooks to call register_sidebars?
- AddFilter option_active_plugins is executed 6 times. Why?
- Deactivate Plugin on Theme Switch
- Where to hook my plugin’s action
- How to pull code snippet from functionality plugin?
- Prevent a plugin from being automatically activated
- How do action and filter hooks understand where to look for the core function that we hooked our function to them
- How get a value from a plugin into another plugin through action/filter
- Any hook for pre-plugin-update -either bulk or single plugin update
- Add custom message to the plugins page of WordPress
- How do I display only the latest post on my home page, while maintaining proper plugin hooks?
- Hooking in to replace the Sidebar/Widget areas
- How to get all of the activate_plugin action parameters?
- Modifying the comments section through a plugin regardless of theme
- woocommerce_package_rates not fired when wordpress woocommerce accessed as non ajax
- wp_get_post_terms is difference obj model than the one in rest api response
- Get Time Taken By Each Action Hook in WordPress
- Best place for short bio,image and button [closed]
- do_action() hook into load-(page)
- Howto check version of another plugin and then add a submenu page to it
- The Hook registration_errors was not called
- Hook into existing tinyMCE button
- Add sub menu page in your plugin
- how to change automatic placing of social plugins below content?
- Deactivate JS Script in Plugin Shortcode
- Are there action hooks for comments?
- Adding Plugin Assets to Header
- What are admin hooks
- WooCommerce: after install hook
- How to use filter to disable adding a product to wishlist?
- Function added to hook “new_to_publish” not executing – custom plugin
- Comment Approve – Add custom function when comment is approved
- Hook on creating a menu entry?
- Prevent plug-in scripts on a specific template?
- using wp_footer hook in a plugin
- Use a hook or filter, or overwrite this Gamipress function?
- Hook from plugin doesn’t fire up from external PHP script
- WordPress Custom Hook with Class method
- How to remove a hook written with $this?
- Is there a hook similar to “save_post” which only fires AFTER the post is completely published?
- update_option_{$option} not working (do function after options are saved)
- add a hook of Woocommerce to a plugin but it only shows and doesn’t function properly
- save_post hook partly firing in update post
- The function called on the wp head hook becomes null
- ACF Fields are not showing up on Homepage
- Show post object of any page in frontend
- When/where would want to attach other classes to the base class in a WordPress plugin?
- Use action, filter, or hook to append HTML to WordPress plugin function
- Passing function into add_action always returns the first argument
- Hook to display element as product on category page
- Is it possible to disable a theme programmatically?
- plugin not hooking to my custom hook
- Creating Custom Hook for my plugin
- Modify a plugin’s content
- Manually return false for function_exists
- Plugin hook breaks new WP 4.0 media library grid view?
- Plugin Hook: Get posts
- How to make plugin work in each template in wordpress
- WordPress Hooks : Where to place callbacks that repetitively yield the same effect?
- Suitable hook when creating, updating and deleting posts programmatically
- Change social icon in twenty twenty three theme
- is_user_logged_in() undefined at shutdown in plugin context
- Similar hook to ‘init’ for when plugin page loads