Filename: gpld-disable-on-gv-edit.php
gpld-disable-on-gv-edit.php
<?php /** * Gravity Perks // Limit Dates // Disable Limit Dates on Gravity View Entry Edit * https://gravitywiz.com/documentation/gravity-forms-limit-dates/ */ add_filter( 'gpld_has_limit_dates_enabled', function( $is_enabled ) { if ( is_callable( 'gravityview' ) && gravityview()->request->is_edit_entry() ) { $is_enabled = false; } return $is_enabled; } );
Your email address will not be published. Required fields are marked *
Comment *
Notify me of followup comments via e-mail
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.
Δ