=' ) ) { add_action( 'admin_notices', 'elementor_fail_php_version' ); } elseif ( ! version_compare( get_bloginfo( 'version' ), '6.3', '>=' ) ) { add_action( 'admin_notices', 'elementor_fail_wp_version' ); } else { require ELEMENTOR_PATH . 'includes/plugin.php'; } /** * Elementor admin notice for minimum PHP version. * * Warning when the site doesn't have the minimum required PHP version. * * @since 1.0.0 * * @return void */ function elementor_fail_php_version() { $html_message = sprintf( '

%1$s

%2$s %3$s

', esc_html__( 'Elementor isn’t running because PHP is outdated.', 'elementor' ), sprintf( /* translators: %s: PHP version. */ esc_html__( 'Update to version %s and get back to creating!', 'elementor' ), '7.4' ), esc_html__( 'Show me how', 'elementor' ) ); echo wp_kses_post( $html_message ); } /** * Elementor admin notice for minimum WordPress version. * * Warning when the site doesn't have the minimum required WordPress version. * * @since 1.5.0 * * @return void */ function elementor_fail_wp_version() { $html_message = sprintf( '

%1$s

%2$s %3$s

', esc_html__( 'Elementor isn’t running because WordPress is outdated.', 'elementor' ), sprintf( /* translators: %s: WordPress version. */ esc_html__( 'Update to version %s and get back to creating!', 'elementor' ), '6.3' ), esc_html__( 'Show me how', 'elementor' ) ); echo wp_kses_post( $html_message ); }