Skip to content

Instantly share code, notes, and snippets.

@robhob
Forked from rynaldos-zz/remove-pgzoom-theme.php
Last active August 18, 2017 06:52
Show Gist options
  • Save robhob/adb0c46956cd7683119eb3aa92d12913 to your computer and use it in GitHub Desktop.
Save robhob/adb0c46956cd7683119eb3aa92d12913 to your computer and use it in GitHub Desktop.

Revisions

  1. robhob renamed this gist Aug 18, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Rynaldo revised this gist Apr 8, 2017. No changes.
  3. Rynaldo created this gist Apr 8, 2017.
    5 changes: 5 additions & 0 deletions remove-pgzoom-theme.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    add_action( 'after_setup_theme', 'remove_pgz_theme_support', 100 );

    function remove_pgz_theme_support() {
    remove_theme_support( 'wc-product-gallery-zoom' );
    }