v2.6.0: Planned Deprecations

Hello everyone – we are getting ready to release version 2.6.

From now on we will update every time we release a new version of Elementor & Elementor Pro.

Here is the planned deprecations:

Functions & Methods

Soft Deprecation

Function / Method NameChanges Made
Utils::is_ajax()

Replaced by: wp_doing_ajax()


Located in: includes/utils.php


Hard deprecation: 3.0.0


Deletion: 3.4.0


Hard Deprecation

Function / Method NameChanges Made
Controls_Stack::get_class_controls() Replaced by:  None

Located in: includes/base/controls-stack.php


In Soft deprecation since: 2.1.0


Deletion version: 3.0.0

Core\Base\Document::save_type()

Replaced by: Core\Base\Document::save_template_type()


Located in: core/base/document.php


In Soft deprecation since: 2.2.0


Deletion version: 3.0.0

Core\Files\CSS\Base::get_css()

Replaced by:  Core\Files\CSS\Base::get_content()


Located in: core/files/css/base.php


In soft deprecation since:2.1.0


Deletion version:3.0.0

Core\Settings\Page\Manager::is_cpt_custom_templates_supported()


Replaced by: Utils::is_cpt_custom_templates_supported()

Located in: core/settings/page/manager.php

In soft deprecation since: 2.0.0


Deletion version: 3.0.0

DB::_get_new_editor_from_wp_editor()


Replaced by: Plugin::$instance->documents->get( $post_id )->convert_to_elementor()

Located in: includes/db.php


In soft deprecation since: 2.1.0


Deletion version: 3.0.0

DB::get_newer_autosave()


Replaced by:  Plugin::$instance->documents->get( $post_id )->get_newer_autosave()

Located in: includes/db.php

In soft deprecation since: 2.0.0


Deletion version: 3.0.0

DB::get_plain_editor() Replaced by:  Plugin::$instance->documents->get( $post_id )->get_elements_data()

Located in: includes/db.php


In soft deprecation since: 2.0.0


Deletion version: 3.0.0

DB::save_editor() Replaced by: Plugin::$instance->documents->get( $post_id )->save()

Located in: includes/db.php


In soft deprecation since: 2.0.0


Deletion version: 3.0.0

Skin_Base::_content_template() Replaced by: None

Located in: includes/base/skin-base.php


In soft deprecation since: 1.7.6


Deletion version: 3.0.0

Utils::get_edit_link()

Replaced by: Plugin::$instance->documents->get( $post_id )->get_edit_url() 


Located in: includes/utils.php


In soft deprecation since: 2.0.0


Deletion version: 3.0.0

Utils::get_exit_to_dashboard_url()

Replaced by:  Plugin::$instance->documents->get($post_id )->get_exit_to_dashboard_url()

 

Located in: includes/utils.php


In soft deprecation since: 2.0.0


Deletion version: 3.0.0

Utils::get_last_edited() Replaced by: Plugin::$instance->documents->get( $post_id )->get_last_edited() 

Located in: includes/utils.php

In soft deprecation since: 2.0.0

Deletion version: 3.0.0
Utils::get_preview_url() Replaced by:  Plugin::$instance->documents->get( $post_id )->get_preview_url()

Located in: includes/utils.php


In soft deprecation since: 2.0.0


Deletion version: 3.0.0

Utils::get_wp_preview_url() Replaced by:  Plugin::$instance->documents->get( $post_id )->get_wp_preview_url()

Located in: includes/utils.php

In soft deprecation since: 2.0.0


Deletion version: 3.0.0

Deletion

Function / Method NameChanges Made
Control_Order

Replaced by: None

Located in: includes/controls/order.php

In soft deprecation since: 2.0.0

In hard deprecation since: 2.0.0

Controls_Stack::sanitize_initial_data()

Replaced by: Controls_Stack::sanitize_settings()

Located in: includes/base/controls-stack.php

In soft deprecation since: 2.1.5

In hard deprecation since: 2.1.5

Core\Settings\Page\Manager::get_page()

Replaced by: Use the new Settings API

Located in: core/settings/page/manager.php

In soft deprecation since: 1.6.0

In hard deprecation since: 2.1.0

Editor::print_panel_html()

Replaced by: Editor::print_editor_template()

Located in: includes/editor.php

In soft deprecation since: 2.2.0

In hard deprecation since: 2.2.0

Element_Base::get_parent()


Replaced by: Element_Base::get_data( 'parent' )

Located in: includes/base/element-base.php

In soft deprecation since: 2.2.0

In hard deprecation since: 2.2.0

Elements_Manager::ajax_discard_changes()

Replaced by: Plugin::$instance->documents->ajax_discard_changes()

Located in: includes/managers/elements.php

In soft deprecation since: 2.2.0

In hard deprecation since: 2.2.0

Elements_Manager::ajax_save_builder()

Replaced by: Plugin::$instance->documents->ajax_save()

Located in: includes/managers/elements.php

In soft deprecation since: 2.0.0

In hard deprecation since: 2.0.0


Actions & Filters

Soft Deprecation

Action / Filter nameChanges Made
elementor_pro/query_control/get_autocomplete/{$name}

Replaced by: elementor/query/get_autocomplete/{$name}

Type & Plugin: Filter (Pro)

Hard deprecation: 3.0.0

Deletion: 3.4.0

elementor_pro/query_control/get_value_titles/{$name}

Replaced by: elementor/query/get_value_titles/{$name}

Type & Plugin: Filter (Pro)

Hard deprecation: 3.0.0

Deletion: 3.4.0

Hard Deprecation

Action / Filter nameChanges Made
elementor/{$settings_name}/settings/success_response_data

Replaced by: elementor/settings/{$settings_name}/success_response_data

Type & Plugin: Filter (Core)

In soft deprecation since: 2.0.0

Deletion version: 3.0.0

elementor/utils/get_edit_link

Replaced by: elementor/document/urls/edit

Type & Plugin: Filter (Core)

In soft deprecation since: 2.0.0

Deletion version: 3.0.0

elementor/utils/preview_url

Replaced by: elementor/document/urls/preview

Type & Plugin: Filter (Core)

In soft deprecation since: 2.0.0

Deletion version: 3.0.0

elementor/utils/wp_preview_urlReplaced by: elementor/document/urls/wp_preview

Type & Plugin: Filter (Core)

In soft deprecation since: 2.0.0

Deletion version: 3.0.0

elementor/{$name}-css-file/enqueueReplaced by: elementor/css-file/{$name}/enqueue

Type & Plugin: Action (Core)

In soft deprecation since: 2.0.0

Deletion version: 3.4.0

elementor/{$name}-css-file/parseReplaced by: elementor/css-file/{$name}/parse

Type & Plugin: Action (Core)

In soft deprecation since: 2.0.0

Deletion version: 3.0.0


You can download the latest release of Elementor Core from WordPress repository, and the latest release of Elementor Pro from your Elementor dashboard.

If you spot any issues, please log them in detail on Github.

Developer Newsletter

Stay up to date on the latest developer news, product updates, and best practices.

Author

Picture of Shilo Eish Yemini
Shilo Eish Yemini
Shilo is Elementor’s Editor Product Lead. He loves innovative products, pays attention to the small details, and is passionate about solving puzzles.