Elementor\Controls_Stack->is_control_visible - What does it do? #20443
realfabiangless
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to understand what this function does in Elementor:
public function is_control_visible( $control, $values = null ) (its from Elementor\Controls_Stack->is_control_visible)
The comments in the code are
/**
* Whether the control is visible or not.
*
* Used to determine whether the control is visible or not.
*
* @SInCE 1.4.0
* @access public
*
* @param array $control The control.
* @param array $values Optional. Condition values. Default is null.
*
* @return bool Whether the control is visible.
*/
For our page, this function takes 10 seconds to load, it is really critical. Hope someone can explain what it does and what could influence it to take that long.
Beta Was this translation helpful? Give feedback.
All reactions