Skip to content

Instantly share code, notes, and snippets.

@murshed
Created March 2, 2022 15:30
Show Gist options
  • Save murshed/fe760b024ca221bcbbcaf0f083333a20 to your computer and use it in GitHub Desktop.
Save murshed/fe760b024ca221bcbbcaf0f083333a20 to your computer and use it in GitHub Desktop.
Forcefully import Astra Starter Templates
<?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