Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
/** Fix Conflict with WPForms plugin */ function fix_conflict_with_wp_forms_plugin() { if ( isset( $_GET['page'] ) ) { $page = $_GET['page']; $page = explode( '-', $page ); if ( 'wpforms' === $page[0] ) { /* If WPForms plugin Page */ remove_action( 'admin_enqueue_scripts', array( \Jeg\Form\Form_Builder::get_instance(), 'form_control_script' ), 10 ); wp_enqueue_script( 'jeg-form-builder-script', JEG_URL . '/assets/js/form/form-builder.js', array( 'jquery', 'underscore', 'wp-util', 'customize-controls', 'customize-base', 'wp-color-picker', 'jquery-ui-spinner', ), jeg_get_version(), true ); } } } add_action( 'admin_enqueue_scripts', 'fix_conflict_with_wp_forms_plugin', 100 );
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)