PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 4.4.4
Hustle – Email Marketing, Lead Generation, Optins, Popups v4.4.4
7.8.14.2 7.8.14 7.8.14.1 7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / popoverincludes / classes / popover.help.php
wordpress-popup / popoverincludes / classes Last commit date
popover.help.php 13 years ago popoveradmin.php 13 years ago popoverajax.php 13 years ago popoverpublic.php 13 years ago
popover.help.php
85 lines
1 <?php
2 if(!class_exists('Popover_Help')) {
3
4 class Popover_Help {
5 // The screen we want to access help for
6 var $screen = false;
7
8 function __construct( &$screen = false ) {
9
10 $this->screen = $screen;
11
12 //print_r($screen);
13
14 }
15
16 function Popover_Help( &$screen = false ) {
17 $this->__construct( $screen );
18 }
19
20 function show() {
21
22
23
24 }
25
26 function attach() {
27
28 switch($this->screen->id) {
29
30 case 'toplevel_page_popover': $this->main_help();
31 break;
32
33 case 'pop-overs_page_popoveraddons': $this->addons_help();
34 break;
35
36
37 }
38
39 }
40
41 // Specific help content creation functions
42
43 function main_help() {
44
45 ob_start();
46 include_once(popover_dir('popoverincludes/help/popover.help.php'));
47 $help = ob_get_clean();
48
49 ob_start();
50 include_once(popover_dir('popoverincludes/help/popoveredit.help.php'));
51 $helpedit = ob_get_clean();
52
53 $this->screen->add_help_tab( array(
54 'id' => 'popover',
55 'title' => __( 'Overview' , 'popover' ),
56 'content' => $help,
57 ) );
58
59 $this->screen->add_help_tab( array(
60 'id' => 'edit',
61 'title' => __( 'Adding / Editing' , 'popover' ),
62 'content' => $helpedit,
63 ) );
64
65 }
66
67 function addons_help() {
68
69 ob_start();
70 include_once(popover_dir('popoverincludes/help/popoveraddons.help.php'));
71 $help = ob_get_clean();
72
73 $this->screen->add_help_tab( array(
74 'id' => 'addons',
75 'title' => __( 'Add-ons', 'popover' ),
76 'content' => $help,
77 ) );
78
79 }
80
81
82 }
83
84 }
85 ?>