function stq_change_auth_cookie_expiration_period( $expiration_period ) { $expiration_period = MONTH_IN_SECONDS; // 1 month return $expiration_period; } add_filter( ‘auth_cookie_expiration’, ‘stq_change_auth_cookie_expiration_period’ );Continue reading
/** * Hide “Back to WordPress Editor” button but preserve spacing. */ function my_hide_elementor_back_to_wp_button() { if ( is_admin() ) { ?>Continue reading
add_filter( ‘wp_inline_script_attributes’, function ( $attributes, $javascript ) { if ( strpos( $javascript, ‘gform.’ ) ) { $attributes[‘data-cfasync’] = ‘false’; } return $attributes; }, 10, 2 );Continue reading
Richiesta di iscrizione al Registro Nazionale PCS – Step 1 Compila i tuoi dati di base. Questa è la prima fase del percorso di iscrizione al RE.N.A.P.A. – Registro Nazionale Assistenti Personali Automotive – Personal Car Shopper. NomeContinue reading
/** * FRS Quiz Certificate Generator * 1. Calculates Score Percentage [frs_quiz_percentage] * 2. Attaches the Certificate PDF to emails automatically */ // — PART 1: SCORE CALCULATOR SHORTCODE — // Usage in View: [frs_quiz_percentage field=”31471″ total=”6″ entry=”[id]”] add_shortcode( ‘frs_quiz_percentage’,…Continue reading
add_action( ‘wp_enqueue_scripts’, static function () { $registration_page_id = (int) get_option( ‘wcv_signup_registration_page_id’, 0 ); if ( 0 === $registration_page_id || ! is_page( $registration_page_id ) ) { return; } $allowed_countries = array( ‘AU’, ‘GB’, ‘US’, ‘CA’ ); // ISO 3166-1 alpha-2 codes…Continue reading