Skip to content

'elementor/element/post/document_settings/after_section_start', Action stopped working from 2.7 #9080

@latheeshvm

Description

@latheeshvm

Description

add_action('elementor/element/post/document_settings/after_section_start', this was all good till 2.68 . But after this is not working.

Steps to reproduce

add_action('elementor/element/post/document_settings/after_section_start', 'function_to_test', 20 , 2 );

function_to_test(\Elementor\Core\DocumentTypes\Post $page){
$page->start_controls_section(
			'content_section',
			[
				'label' => __( 'Content', 'plugin-name' ),
				'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
			]
		);

		$page->add_control(
			'widget_title',
			[
				'label' => __( 'Title', 'plugin-domain' ),
				'type' => \Elementor\Controls_Manager::TEXT,
				'default' => __( 'Default title', 'plugin-domain' ),
				'placeholder' => __( 'Type your title here', 'plugin-domain' ),
			]
		);

		$page->end_controls_section();
}

Isolating the problem

  • [x ] This bug happens with only Elementor plugin active (and Elementor Pro).
  • [x ] This bug happens with a default WordPress theme active.
  • [x ] I can reproduce this bug consistently using the steps above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.mod/b*[Temp.] For internal use only.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions