elementor_fail_wp_version()
Elementor admin notice for minimum WordPress version.
Description
Warning when the site doesn’t have the minimum required WordPress version.
Return
(void)
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
Source
elementor.php
function elementor_fail_wp_version() { /* translators: %s: WP version */ $message = sprintf( esc_html__( 'Elementor requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT ACTIVE.', 'elementor' ), '4.5' ); $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) ); echo wp_kses_post( $html_message ); }