PluginProbe
Elementor Website Builder – more than just a page builder / 3.32.0-dev2
Elementor Website Builder – more than just a page builder v3.32.0-dev2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / core / common / modules / connect / apps / base-user-app.php

base-user-app.php in Elementor Website Builder – more than just a page builder 3.32.0-dev2, at core/common/modules/connect/apps/base-user-app.php

30 lines 561 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor\Core\Common\Modules\Connect\Apps;
3
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit; // Exit if accessed directly.
6 }
7
8 abstract class Base_User_App extends Base_App {
9
10 /**
11 * @since 2.3.0
12 * @access protected
13 */
14 protected function update_settings() {
15 update_user_option( get_current_user_id(), $this->get_option_name(), $this->data );
16 }
17
18 /**
19 * @since 2.3.0
20 * @access protected
21 */
22 protected function init_data() {
23 $this->data = get_user_option( $this->get_option_name() );
24
25 if ( ! $this->data ) {
26 $this->data = [];
27 }
28 }
29 }
30