-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorporate logic from contact-form-7-conditional-enqueues.php mini p…
…lugin * Use template_redirect action rather than wp to prevent accidental admin usage. * Add version check for CF7. * Add conditional enqueueing for styles in addition to scripts. * Override filters for wpcf7_load_js and wpcf7_load_css to return false. * Prevent re-enqueueing scripts after they have been enqueued.
- Loading branch information
1 parent
2b82b18
commit 6ece016
Showing
1 changed file
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters