Title: Edit Submission Text
Last modified: August 30, 2016

---

# Edit Submission Text

 *  [prodesignra](https://wordpress.org/support/users/prodesignra/)
 * (@prodesignra)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/edit-submission-text/)
 * Hi there!
 * Is it possible to edit the submission text? So instead of saying create a new
   submission, it would say “Create a new submission for file xyz” and also have
   a button that toggles the text area would be useful (or at least says, leave 
   comments here). I know how to do this with jquery but thought I would ask about
   the plugin options.
 * Thank you!
 * [https://wordpress.org/plugins/badgeos/](https://wordpress.org/plugins/badgeos/)

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

 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 11 months ago](https://wordpress.org/support/topic/edit-submission-text/#post-6542436)
 * You’ll be able to edit the text utilizing the following:
 *     ```
       // Setup our defaults
       $defaults = array(
       	'heading'    => sprintf( '<h4>%s</h4>', __( 'Create a New Submission', 'badgeos' ) ),
       	'attachment' => __( 'Attachment:', 'badgeos' ),
       	'submit'     => __( 'Submit', 'badgeos' )
       );
   
       // Available filter for changing the language
       $defaults = apply_filters( 'badgeos_submission_form_language', $defaults );
       ```
   
 * We pass the array of defaults through the `badgeos_submission_form_language` 
   filter and you can replace the index values with whatever you want.
 * The toggle stuff would need to be custom, as we don’t have that out of the box,
   that I’m aware of.
 *  Thread Starter [prodesignra](https://wordpress.org/support/users/prodesignra/)
 * (@prodesignra)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/edit-submission-text/#post-6542448)
 * Where would that text be edited? Should I be looking for that text or adding 
   it?
 * Thank you!
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [10 years, 11 months ago](https://wordpress.org/support/topic/edit-submission-text/#post-6542506)
 * You would need to put something like the following into your functions.php file.
 *     ```
       function prodesignra_edit_text( $values ) {
           $values['heading'] = '<h4>My Custom Heading</h4>';
   
           return $values;
       }
       add_filter( 'badgeos_submission_form_language', 'prodesignra_edit_text' );
       ```
   

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

The topic ‘Edit Submission Text’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/badgeos_85d3bc.svg)
 * [BadgeOS](https://wordpress.org/plugins/badgeos/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/badgeos/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/badgeos/)
 * [Active Topics](https://wordpress.org/support/plugin/badgeos/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/badgeos/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/badgeos/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/edit-submission-text/#post-6542506)
 * Status: not resolved