Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // filter/hook to rename WPUF Account page's sections
- add_filter('wpuf_account_sections',function ($sections){
- $sections['post'] = 'Articles'; //rename 'Posts' Tab to 'Articles'
- $sections['product'] = 'WC Product'; //rename 'Products' CPT Tab to 'WC Products'
- return $sections;
- },999);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement