Warning: Undefined array key "inner_tab" in /home/site/wwwroot/wp-content/plugins/elementor/includes/base/controls-stack.php on line 672

Notice: Function Elementor\Controls_Manager::add_control_to_stack was called incorrectly. Cannot redeclare control with same name "color_menu_item". Please see Debugging in WordPress for more information. (This message was added in version 1.0.0.) in /home/site/wwwroot/wp-includes/functions.php on line 6121

Warning: Undefined array key "inner_tab" in /home/site/wwwroot/wp-content/plugins/elementor/includes/base/controls-stack.php on line 672

Notice: Function Elementor\Controls_Manager::add_control_to_stack was called incorrectly. Cannot redeclare control with same name "color_menu_item_hover". Please see Debugging in WordPress for more information. (This message was added in version 1.0.0.) in /home/site/wwwroot/wp-includes/functions.php on line 6121

Notice: Function Elementor\Controls_Manager::add_control_to_stack was called incorrectly. Cannot redeclare control with same name "color_menu_item_hover_pointer_bg". Please see Debugging in WordPress for more information. (This message was added in version 1.0.0.) in /home/site/wwwroot/wp-includes/functions.php on line 6121

Warning: Undefined array key "inner_tab" in /home/site/wwwroot/wp-content/plugins/elementor/includes/base/controls-stack.php on line 672

Notice: Function Elementor\Controls_Manager::add_control_to_stack was called incorrectly. Cannot redeclare control with same name "color_menu_item_active". Please see Debugging in WordPress for more information. (This message was added in version 1.0.0.) in /home/site/wwwroot/wp-includes/functions.php on line 6121

Back To Basics: Functions, the good and the bad

Functions are create little blocks of code. They are fantastic for converting data from one format to another, or for looking up other values based on a lookup. However this comes at a price. That price is CPU power. Doing all these additional lookups can cause extra strain on the database server. It’s often better for the database server to simply join to the table which you are doing the lookup against. However you can guarantee the same lookup is done every time when a function is used.