Hook to change label text
-
Hi,
I use this plugin all the time and it’s great! I’m trying to take it a step further and without going into all the details I need to hook into the code using my function.php and change the label text of my fields.
e.g.
Field name is currently Text “textbox01” and on the woocommerce product page it is displayed as “textbox01”I need to hook in and do something like this:
do_action('current_code','my_function); my_function($field){ $field['name'] = "New Label"; return $field; }But I don’t know where to hook into and what to change, any help would be great!
Thanks
Chris
The topic ‘Hook to change label text’ is closed to new replies.