We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0984202 commit f366721Copy full SHA for f366721
gp-live-preview/gplp-enable-globally-for-admin.php
@@ -0,0 +1,8 @@
1
+<?php
2
+/**
3
+ * Gravity Perks // Live Preview // Enable Globally For Admins
4
+ * https://gravitywiz.com/documentation/gravity-forms-live-preview/
5
+ */
6
+add_filter( 'gplp_enable_globally', function( $is_global ) {
7
+ return current_user_can( 'administrator' );
8
+} );
0 commit comments