This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Error before fixing: | |
# Xlib: extension "XInputExtension" missing on display ":10.0". | |
# Xlib: extension "XInputExtension" missing on display ":10.0". | |
#Find Atom / VS Code installation folder, e.g. /usr/share/atom or /usr/share/code | |
dpkg -L atom | |
dpgk -L visual-studio-code | |
#Find libxcb1 installation folder, e.g. /usr/lib/x86_64-linux-gnu/libxcb.so.1 | |
dpkg -L libxcb1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [Forminator Pro] - Custom Prefill shortcode | |
* Description: Adds the [wpmudev_forminator_form] which accepts custom prefill values passed as a discrete parameters, for example [wpmudev_forminator_form id="6" foo="bar" bar="baz"] | |
* Author: Anderson Salas @ WPMUDEV | |
* Task: SLS-3388 | |
* Author URI: https://premium.wpmudev.org | |
* License: GPLv2 or later | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( | |
'forminator_cform_render_fields', | |
function( $wrappers, $model_id ) { | |
if( $model_id != 1441 ){ | |
return $wrappers; | |
} | |
$select_fields_data = array( |