Created
March 2, 2022 15:30
-
-
Save murshed/fe760b024ca221bcbbcaf0f083333a20 to your computer and use it in GitHub Desktop.
Forcefully import Astra Starter Templates
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
<?php | |
/** | |
* Plugin Name: Astra Sites Always Sync | |
* Description: Always sync the library without checking the checksums. | |
*/ | |
// Avoid gutenberg templates checksusms. | |
add_filter( 'ast_block_templates_checksums_status', function() { | |
return 'yes'; | |
}); | |
// Avoid starter templates checksusms. | |
add_filter( 'astra_sites_checksums_status', function() { | |
return 'yes'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment