Advertisement
fahimmurshed

Forcefully import Astra Starter Templates

May 26th, 2022
883
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Plugin Name: Astra Sites Always Sync
  4.  * Description: Always sync the library without checking the checksums.
  5.  */
  6.  
  7. // Avoid gutenberg templates checksusms.
  8. add_filter( 'ast_block_templates_checksums_status', function() {
  9.     return 'yes';
  10. });
  11.  
  12. // Avoid starter templates checksusms.
  13. add_filter( 'astra_sites_checksums_status', function() {
  14.     return 'yes';
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement