Apply Default Theme Border Styling to Google Maps Element

.fusion-google-map { border-radius: var(–button-border-radius-top-left, 0) var(–button-border-radius-top-right, 0) var(–button-border-radius-bottom-right, 0) var(–button-border-radius-bottom-left, 0); border-color: var(–button_border_color); border-width: var(–button_border_width-top, 0) var(–button_border_width-right, 0) var(–button_border_width-bottom, 0) var(–button_border_width-left, 0); border-style: solid; }Continue reading

Add Class to Formidable Forms reCAPTCHA Fields

add_filter( ‘frm_field_div_classes’, function( $classes, $field ) { if ( ! isset( $field[‘type’] ) || ‘captcha’ !== $field[‘type’] ) { return $classes; } $settings = FrmAppHelper::get_settings(); $active_captcha = isset( $settings->active_captcha ) ? $settings->active_captcha : ‘recaptcha’; if ( ‘recaptcha’ === $active_captcha &&…Continue reading

[DEBUG] Show Enqueued Script Handles

function rd_get_script_handles_queue() { global $wp_scripts; if ( empty($wp_scripts) || ! isset($wp_scripts->queue) ) { return array(); } $handles = (array) $wp_scripts->queue; // De-dupe while preserving order $seen = array(); $deduped = array(); foreach ( $handles as $h ) { if (…Continue reading

PHP – Custom login

// === CUSTOM LOGIN PAGE === add_action(‘login_enqueue_scripts’, function () { echo ‘ ‘; }); // === LIEN DU LOGO DE CONNEXION === add_filter(‘login_headerurl’, fn() => ‘https://www.mdf.nc’); add_filter(‘login_headertext’, fn() => ‘MDF NC’);Continue reading