Title: Change Task/Item heading via PHP
Last modified: June 9, 2018

---

# Change Task/Item heading via PHP

 *  Resolved [hendosdad](https://wordpress.org/support/users/hendosdad/)
 * (@hendosdad)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/change-task-item-heading-via-php/)
 * Great plugin!
 * I’m wanting to change the heading “Task/Item” to “Role”.
 * Is there a way to do this by adding some code to my theme’s functions.php?
 * If so, a point in the right direction would be helpful.
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [DBAR Productions](https://wordpress.org/support/users/dbar-productions/)
 * (@dbar-productions)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/change-task-item-heading-via-php/#post-10382329)
 * You can easily modify (or hide) almost all of the public side text, including
   those table headings, using the Customizer plugin (less than $10, and helps support
   further development):
 * [https://stephensherrardplugins.com/plugins/pta-volunteer-sign-up-sheets-customizer/](https://stephensherrardplugins.com/plugins/pta-volunteer-sign-up-sheets-customizer/)
 * If you would rather do it with your own PHP code, there is a public output filter
   used on all those text strings that the above customizer plugin taps into. You
   can scan the code in the class-pta_sus_public.php file to see those filters that
   have the filter hook ‘pta_sus_public_output’, with 2 variables pass to the filter:
   the first being the original text string, and the second being an identifier 
   key string to let you know which specific text string is being output (so you
   only modify the one you want to change).
 * Alternately, since all the strings are prepared for translation, you could use
   any type of translation management to “translate” those text strings to change
   them to whatever you want.
 *  Thread Starter [hendosdad](https://wordpress.org/support/users/hendosdad/)
 * (@hendosdad)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/change-task-item-heading-via-php/#post-10382888)
 * Thank you for your help.
 * Just in case anyone else is wanting to do this, the code I implemented in functions.
   php of my child theme is provided below:
 *     ```
         add_filter( 'pta_sus_public_output', 'function_to_change_task_item_to_role');
         function function_to_change_task_item_to_role( $text ) {
             $text = str_replace(
                 array( 'Task/Item' ),
                 array( 'Role' ),
                 $text
              );
              return $text;
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change Task/Item heading via PHP’ is closed to new replies.

 * ![](https://ps.w.org/pta-volunteer-sign-up-sheets/assets/icon-128x128.jpg?rev
   =980645)
 * [Volunteer Sign Up Sheets](https://wordpress.org/plugins/pta-volunteer-sign-up-sheets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pta-volunteer-sign-up-sheets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pta-volunteer-sign-up-sheets/)
 * [Active Topics](https://wordpress.org/support/plugin/pta-volunteer-sign-up-sheets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pta-volunteer-sign-up-sheets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pta-volunteer-sign-up-sheets/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [hendosdad](https://wordpress.org/support/users/hendosdad/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/change-task-item-heading-via-php/#post-10382888)
 * Status: resolved