#42137 closed defect (bug) (maybelater)
Adding filter to customize save button.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | |
Focuses: | Cc: |
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
@
6 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.
Note: See
TracTickets for help on using
tickets.
@Collizo4sky What would you want to filter it to be?