v3.6: Planned Deprecations

Hey all! We are getting ready to release version 3.6.

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

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.

Function / Method NameChanges made
is_built_with_elementor()

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

Located in: includes/db.php

Soft deprecation Version: 3.2.0

Deletion version: 4.0.0
Responsive::get_default_breakpoints()

Core Plugin
Replaced by: Elementor\Core\Breakpoints\Manager::get_default_config()

Located in: core/responsive/responsive.php

Soft deprecation Version: 3.2.0

Deletion version: 4.0.0
Responsive::get_editable_breakpoints()

Core Plugin
Replaced by: none

Located in: core/responsive/responsive.php

Soft deprecation Version: 3.2.0

Deletion version: 4.0.0
Responsive::get_breakpoints()

Core Plugin
Replaced by: Plugin::$instance->breakpoints->get_breakpoints()

Located in: core/responsive/responsive.php

Soft deprecation Version: 3.2.0

Deletion version: 4.0.0
Responsive::has_custom_breakpoints()

Core Plugin
Replaced by: Plugin::$instance->breakpoints->has_custom_breakpoints()

Located in: core/responsive/responsive.php

Soft deprecation Version: 3.2.0

Deletion version: 4.0.0
Responsive::get_stylesheet_templates_path()

Core Plugin
Replaced by: Elementor\Core\Breakpoints\Manager::get_stylesheet_templates_path()

Located in: core/responsive/responsive.php

Soft deprecation Version: 3.2.0

Deletion version: 4.0.0
Responsive::compile_stylesheet_templates()

Core Plugin
Replaced by: Elementor\Core\Breakpoints\Manager::compile_stylesheet_templates()

Located in: core/responsive/responsive.php

Soft deprecation Version: 3.2.0

Deletion version: 4.0.0

PHP Classes

Hard Deprecation

Class nameChanges Made
Elementor\Core\Responsive\Responsive

Core Plugin
Replaced by: Use Breakpoints Manager via `Plugin::$instance->breakpoints`

Located in: core/responsive/responsive.php

Soft deprecation Version: 3.2.0

Deletion Version: 4.0.0

PHP Class Aliases

Deletion

Alias nameChanges Made
Elementor\Scheme_Base

Core Plugin
Replaced by: Elementor\Core\Schemes\Base

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
Elementor\Scheme_Color

Core Plugin
Replaced by: Elementor\Core\Schemes\Color

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
Elementor\Scheme_Color_Picker

Core Plugin
Replaced by: Elementor\Core\Schemes\Color_Picker

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
Elementor\Schemes_Manager

Core Plugin
Replaced by: Elementor\Core\Schemes\Manager

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
Elementor\Scheme_Typography

Core Plugin
Replaced by: Elementor\Core\Schemes\Typography

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0

JS

Functions & Methods

Deletion

Function / Method NameChanges Made
startTransport()

Core Plugin
Replaced by: $e.run( 'document/elements/copy' )

Located in: assets/dev/js/editor/elements/views/base.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
copy()

Core Plugin
Replaced by: $e.run( 'document/elements/copy' )

Located in: assets/dev/js/editor/elements/views/base.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
cut()

Core Plugin
Replaced by: $e.run( 'document/elements/cut' )

Located in: assets/dev/js/editor/elements/views/base.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
paste()

Core Plugin
Replaced by: $e.run( 'document/elements/paste' )

Located in: assets/dev/js/editor/elements/views/base.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
duplicate()

Core Plugin
Replaced by: $e.run( 'document/elements/duplicate' )

Located in: assets/dev/js/editor/elements/views/base.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
pasteStyle()

Core Plugin
Replaced by: $e.run( 'document/elements/paste-style' )

Located in: assets/dev/js/editor/elements/views/base.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
resetStyle()

Core Plugin
Replaced by: $e.run( 'document/elements/reset-style' )

Located in: assets/dev/js/editor/elements/views/base.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
addChildElement()

Core Plugin
Replaced by: $e.run( 'document/elements/create' )

Located in: assets/dev/js/editor/views/base-container.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0

Events

Deletion

Event NameChanges Made

elementor.channels.data -> drag:before:update

Core Plugin
Replaced by:
$e.events -> Before -> 'document/elements/create'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> drag:after:update

Core Plugin
Replaced by:
$e.events -> After -> 'document/elements/create'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> element:before:add

Core Plugin
Replaced by:
$e.events -> Before -> 'document/elements/create'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> element:after:add

Core Plugin
Replaced by:
$e.events -> After -> 'document/elements/create'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> element:before:remove

Core Plugin
Replaced by:
$e.events -> Before -> 'document/elements/delete'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> element:after:remove

Core Plugin
Replaced by:
$e.events -> After -> 'document/elements/delete'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> element:before:paste:style

Core Plugin
Replaced by:
$e.events -> Before -> 'document/elements/paste-style'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> element:after:paste:style

Core Plugin
Replaced by:
$e.events -> After -> 'document/elements/paste-style'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> element:before:reset:style

Core Plugin
Replaced by:
$e.events -> Before -> 'document/elements/reset-style'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> element:after:reset:style

Core Plugin
Replaced by:
$e.events -> After -> 'document/elements/reset-style

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> section:before:drop

Core Plugin
Replaced by:
$e.events -> Before -> 'document/elements/create'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> section:after:drop

Core Plugin
Replaced by:
$e.events -> After -> 'document/elements/create'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> template:before:insert

Core Plugin
Replaced by:
$.run( 'document/import' ) || $e.events -> Before -> 'document/import'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0
elementor.channels.data -> template:after:insert

Core Plugin
Replaced by:
$e.events -> After -> 'document/import'

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0

Vars

Deletion

Var NameChanges Made
this.elementSettingsModel

Core Plugin
Replaced by: this.container.settings

Located in: assets/dev/js/editor/controls/base.js

Soft deprecation Version: 2.8.0

Hard deprecation Version: 3.2.0

Share on facebook
Share on twitter
Share on linkedin

Author

Rami Yushuvaev
Rami Yushuvaev
Head of Elementor Developers Experience. Fullstack developer. Contribute to open source projects. Creator of ChartsCSS.org, GenerateWP.com, DisplayWP.com and many other projects.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *