Created
May 19, 2025 04:03
-
-
Save Rajinsharwar/365a8b778b7d0913118c07818443d681 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
$urls = [ 'https://example.com/page-1', 'https://example.com/page-2' ]; | |
if (class_exists('LaunchWP\Main')) { | |
$flush = new LaunchWP\Main(); | |
$flush->flush_launchwp_cache_for_urls( $urls ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment