Support » Plugin: Elementor Website Builder » not getting {{ID}} value in Default Value

  • Resolved Amitkumar Dudhat

    (@wpamitkumar)


    When I was passed {{ID}} in the default value but I can’t get the value on the frontend side.

    $this->add_control(
    			'element_url_identifier',
    			array(
    				'label'       => __( 'Element ID', 'powerpack' ),
    				'type'        => Controls_Manager::TEXT,
    				'default'     => 'pp-modal-popup-link-{{ID}}',
    				'condition'   => array(
    					'enable_url_trigger' => 'yes',
    				),
    				'frontend_available' => true,
    			)
    		);

    See Screenshot:

    https://i.imgur.com/1rOjhg1.png

    Actual Results: pp-modal-popup-link-{{ID}}

    Expected result: pp-modal-popup-link-533dc6a

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘not getting {{ID}} value in Default Value’ is closed to new replies.