Skip to content

Instantly share code, notes, and snippets.

@PatelUtkarsh
Last active April 2, 2024 12:14
Show Gist options
  • Select an option

  • Save PatelUtkarsh/032ad987beaa8668f237892254f10dcf to your computer and use it in GitHub Desktop.

Select an option

Save PatelUtkarsh/032ad987beaa8668f237892254f10dcf to your computer and use it in GitHub Desktop.

Revisions

  1. PatelUtkarsh revised this gist Apr 2, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jetpack-config.php
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    <?php
    /**
    * Plugin Name: Jetpack configuration.
    * Plugin Name: Disable jetpack sync.
    */

    add_filter( 'jetpack_sync_modules', '__return_empty_array', PHP_INT_MAX );
  2. PatelUtkarsh created this gist Mar 28, 2024.
    6 changes: 6 additions & 0 deletions jetpack-config.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    <?php
    /**
    * Plugin Name: Jetpack configuration.
    */

    add_filter( 'jetpack_sync_modules', '__return_empty_array', PHP_INT_MAX );