Display Width in Pixel – Elementor

// Description: Displays the responsive width of the preview in the Elementor editor // Author: Carlos Béjinha // Author URI: https://binformatica.pt // ———————————— // Info Width In Elementor Editor function add_custom_script_to_elementor() { ?>Continue reading

Hide Elementor Update Notifications

/** * Disable Elementor’s post-update notifications */ function disable_elementor_update_notification() { if (class_exists(‘\Elementor\Core\Admin\Admin_Notices’)) { // Remove upgrade completion notice remove_action(‘admin_notices’, [\Elementor\Core\Admin\Admin_Notices::class, ‘admin_notice_upgrade_completion’]); // Remove update success notice add_action(‘admin_init’, function() { if (isset($_GET[‘action’]) && $_GET[‘action’] === ‘upgrade-plugin’ && isset($_GET[‘plugin’]) && strpos($_GET[‘plugin’], ‘elementor’)…Continue reading

Advanced Spam Filters for Elementor Forms

/** START ELEMENTOR FORM SPAM PROTECTION **/ add_action( ‘elementor_pro/forms/validation’, function ( $record, $handler ) { // Make sure the form is an instance of Form_Record class if ( ! $record instanceof \ElementorPro\Modules\Forms\Classes\Form_Record ) { return; } $raw_fields = $record->get(‘fields’); $fields…Continue reading