#42137 closed defect (bug) (maybelater)
Adding filter to customize save button.
| Reported by: | Collizo4sky | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Customize | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Let's add a filter to $save_text in <?php submit_button( $save_text, 'primary save', 'save', false ); ?> or <?php $save_text = $wp_customize->is_theme_active() ? __( 'Publish' ) : __( 'Activate & Publish' ); ?>
Not everyone like myself utilizes the customizer to customize themes.
cc westonruter
Change History (4)
#2
@
9 years ago
I am the developer of MailOptin (https://wordpress.org/plugins/mailoptin/) plugin which uses the customizer to build optin forms. User's have grown accustomed to "Save Changes".
Anyways I was able to rename it back to "Save Changes" using gettext filter.
Close the ticket if adding a filter doesn't make much sense.
@Collizo4sky What would you want to filter it to be?