Hey all! We are getting ready to release version 3.1.
If you are a developer who extends Elementor please review the below changes to keep your plugin up and running.
Here are the planned deprecations:
PHP
Functions & Methods
Soft Deprecation
When a function/method is in the soft deprecation phase, it means that the function/method will still work while it’s in this phase, but a comment will be placed in the code mentioning the upcoming deprecation.
| Function / Method Name | Changes Made |
localize_settings()Core Plugin | Replaced by: NoneLocated in: core/common/modules/connect/module.phpcore/dynamic-tags/manager.phpmodules/history/module.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
admin_localize_settings()Core Plugin | Replaced by: NoneLocated in: core/upgrade/elementor-3-re-migrate-globals.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
add_admin_strings()Core Plugin | Replaced by: NoneLocated in: includes/managers/icons.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
editor_settings()Core Plugin | Replaced by: NoneLocated in: modules/history/revisions-manager.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
localize_settings()Pro Plugin | Replaced by: NoneLocated in: modules/assets-manager/module.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
_print_content()Core Plugin | Replaced by: print_content()Located in: includes/base/element-base.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
_add_render_attributes()Core Plugin | Replaced by: add_render_attributes()Located in: includes/base/element-base.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
_get_theme()Core Plugin | Replaced by: get_themes()Located in: modules/system-info/reporters/theme.phpincludes/base/element-base.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
_register_skins()Core Plugin | Replaced by: register_skins()Located in: includes/base/widget-base.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
_register_skins()Core Plugin | Replaced by: register_skins()Located in: includes/base/widget-base.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
get_builder()Core Plugin | Replaced by: NoneLocated in: includes/db.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
set_is_elementor_page()Core Plugin | Replaced by: Plugin::$instance->documents->get( $post_id )->set_is_built_with_elementor(Located in: includes/db.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
PHP Vars
Soft Deprecation
| Var Name | Changes Made |
DB::STATUS_PUBLISHCore Plugin | Replaced by: Document::STATUS_PUBLISHLocated in: includes/db.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
DB::STATUS_DRAFTCore Plugin | Replaced by: Document::STATUS_DRAFTLocated in: includes/db.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
DB::STATUS_PRIVATECore Plugin | Replaced by: Document::STATUS_PRIVATELocated in: includes/db.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
DB::STATUS_AUTOSAVECore Plugin | Replaced by: Document::STATUS_AUTOSAVELocated in: includes/db.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
DB::STATUS_PENDINGCore Plugin | Replaced by: Document::STATUS_PENDINGLocated in: includes/db.phpHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
PHP Hooks
Hard Deprecation
When a function/method is on hard deprecation phase, it means that the function/method will still work while it’s in this phase, but will add a PHP notice if the website WP_DEBUG property is set to true.
Please Note: The hooks elementor/element/post/before_section_end and elementor/element/post/after_section_end had multiple use cases, which have now been replaced with multiple, more specific hooks. See the following table for more details.
| elementor_pro/query_control/get_autocomplete | Changes Made |
elementor/element/post/before_section_startCore Plugin Type: Action | Replaced by: elementor/element/wp-post/before_section_startIn soft deprecation since: 2.7.0Deletion version: 3.5.0 |
elementor/element/post/after_section_startCore Plugin Type: Action | Replaced by: elementor/element/wp-post/after_section_startIn soft deprecation since: 2.7.0Deletion version: 3.5.0 |
elementor/element/post/before_section_endCore Plugin Type: Action | Replaced by: elementor/element/wp-post/before_section_endIn soft deprecation since: 2.7.0Deletion version: 3.5.0 |
elementor/element/post/before_section_endCore Plugin Type: Action | Replaced by: elementor/element/wp-post/after_section_endIn soft deprecation since: 2.7.0Deletion version: 3.5.0 |
elementor/element/post/after_section_endCore Plugin Type: Action | Replaced by: elementor/element/wp-post/after_section_endIn soft deprecation since: 2.7.0Deletion version: 3.5.0 |
elementor/element/post/before_section_endCore Plugin Type: Action | Replaced by: elementor/element/wp-page/before_section_endIn soft deprecation since: 2.7.0Deletion version: 3.5.0 |
elementor/element/post/after_section_endCore Plugin Type: Action | Replaced by: elementor/element/wp-page/after_section_endIn soft deprecation since: 2.7.0Deletion version: 3.5.0 |
JavaScript
Functions & Methods
Soft Deprecation
| Function / Method Name | Changes Made |
hasThumbs()Pro Plugin | Replaced by: NoneLocated in: modules/carousel/assets/js/frontend/handlers/media-carousel.jsHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
Modules
Soft Deprecation
| Module / Class Name | Changes Made |
ScrollPro Plugin | Replaced by: assets/dev/js/modules/imports/utils/scroll.jsLocated in: assets/dev/js/modules/imports/utils/scroll.jsHard deprecation Version: 3.5.0Deletion version: 3.9.0 |
Assets
Hard Deprecation
| Asset Name | Changes Made |
jquery-slickCore Plugin Type: Action | Replaced by: swiperLocated in: assets/libIn Soft deprecation since: 2.7.0Deletion version: 3.5.0 |
You can download the latest release of Elementor Core from WordPress repository, and the latest release of Elementor Pro from your Elementor dashboard.
Developer Edition releases will introduce these changes earlier than in the official stable release.
If you spot any issues, please log them in detail on Github.
Beta version supposed to be published during December 2020.