-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the tracking setting to the general setting tab #978
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that you removed the toggle_tracking
function, and I do not know if you updated the option to enable/disable the tracking script 🤔 . Is there an equivalent of update_option( 'tweet_old_post_logger_flag', $tracking ? 'yes' : 'no' );
?
If you are now integrating the value into dashboard flow, there should be some toggle for the tracking option linked to it when you save the values.
The
Previously it was used here
when localized the settings data, I used it here when the tracking key was not found in general settings.
|
@girishpanchal30, I see what was your point. Here is the missing context: the option You moved the value inside the You also have to update that option when you save the dashboard to actually make it work. To test whether the script was loaded, check in the browser console if |
@Soare-Robert-Daniel Thank you for sharing the actual way to make it work properly. Now I've also updated the Thanks |
@girishpanchal30 tested and it works well 👍 |
🎉 This PR is included in version 9.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
I've moved the data tracking
Global Settings
field to theGeneral Settings
tab.Close https://github.com/Codeinwp/tweet-old-post-pro/issues/512