You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.
when settings screen gets loaded the first time after plugin activation, the checkbox is unchecked.
I am on the latest WP (5.0.3) and PHP 7.2
Any help would be greatly appreciated
array( //A standard checkbox - if you save this option as checked then it will store the option as \'on\', otherwise it will be an empty string.
'id' => 'enable_email_notification_checkbox',
'label' => __( 'E-mail notification', 'test_plugin_text' ),
'description' => __( 'Default is on. Select this option to enable a welcome email notification to new users created by this plugin. ', 'test_plugin_text' ),
'type' => 'checkbox',
'default' => 'on'
The text was updated successfully, but these errors were encountered:
Are you able to open a pull request with these changes. I can't guarantee I will be able to merge it very soon, but if it's open I can at least try and prioritise it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
checkbox default 'on' not working
when settings screen gets loaded the first time after plugin activation, the checkbox is unchecked.
I am on the latest WP (5.0.3) and PHP 7.2
Any help would be greatly appreciated
The text was updated successfully, but these errors were encountered: