Skip to content
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 site launched event listener to the Coming Soon module #6

Open
wpscholar opened this issue Aug 25, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@wpscholar
Copy link
Member

This is located in the src/Listeners/BluehostPlugin.php file:

// Site Launched - Coming Soon page disabled
add_filter( 'pre_update_option_mm_coming_soon', array( $this, 'site_launch' ), 10, 2 );

We need to create a Listeners/ComingSoon.php file in the coming soon module and register it as a listener via the newfold_data_listeners hook.

@wpscholar wpscholar added the enhancement New feature or request label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant