PluginProbe
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards / 5.5.84
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards v5.5.84
5.5.84 5.5.83 5.5.82 5.5.81 5.5.80 5.5.79 5.5.77 5.5.76 5.5.75 5.5.73 5.5.72 5.5.22 5.5.23 5.5.29 5.5.3 5.5.31 5.5.32 5.5.34 5.5.35 5.5.36 5.5.37 5.5.4 5.5.40 5.5.41 5.5.42 All 160 releases
wp-data-access / WPDataAccess / Data_Apps / WPDA_App_Builder.php

WPDA_App_Builder.php in WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards 5.5.84, at WPDataAccess/Data_Apps/WPDA_App_Builder.php

52 lines 1002 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WPDataAccess\Data_Apps;
4
5 use WPDataAccess\WPDA;
6 class WPDA_App_Builder extends WPDA_Container {
7 public function show() {
8 if ( !WPDA::current_user_is_admin() ) {
9 if ( !is_admin() && !$this->send_feedback() ) {
10 return;
11 }
12 $this->show_feedback( __( 'Not authorized', 'wp-data-access' ) );
13 return;
14 }
15 if ( is_admin() ) {
16 $this->show_on_backend();
17 } else {
18 $this->show_on_frontend();
19 }
20 $this->add_client( 'ab' );
21 }
22
23 private function show_on_backend() {
24 ?>
25
26 <div class="wrap wpda-apps-backend">
27 <h1 class="wp-heading-inline">
28 <?php
29 ?>
30 App Builder
31 </h1>
32
33 <?php
34 $this->show_on_frontend();
35 ?>
36 </div>
37
38 <?php
39 }
40
41 private function show_on_frontend() {
42 ?>
43
44 <div class="wpda-pp-container">
45 <div class="pp-container-app-builder"></div>
46 </div>
47
48 <?php
49 }
50
51 }
52