spivurno
1/25/2017 - 11:03 PM

Gravity Perks // GP Live Preview // Filter Preview Template Path

Gravity Perks // GP Live Preview // Filter Preview Template Path

<?php
/**
 * Gravity Perks // GP Live Preview // Filter Preview Template Path
 * http://gravityperks.com
 */
add_filter( 'gplp_preview_template', function( $template ) {
    return get_stylesheet_directory() . '/custom-template.php';
} );