File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /**
4+ * Add my new menu to the Admin Control Panel
5+ */
6+
7+ add_action ('admin_menu ' , 'verbum_add_admin_menu ' );
8+
9+ function verbum_add_admin_menu ()
10+ {
11+ add_menu_page (
12+ 'Example ' , // Title of the page.
13+ 'Example ' , // Text to show on the menu link.
14+ 'manage_options ' , // Capability requirement to see the link.
15+ 'example ' , // The 'slug' - file to display when clicking the link.
16+ 'process_manager_viewer ' ,
17+ 'dashicons-chart-pie ' ,
18+ 1
19+ );
20+ }
21+
22+ function process_manager_viewer ()
23+ {
24+ ?>
25+ Iesus Salvator s2
26+ <?php
27+ }
28+
29+
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /*
4+ Plugin Name: Example
5+ Description: Example de plugin.
6+ Author: Melchisedech333
7+ */
8+
9+ require_once plugin_dir_path (__FILE__ ) . 'manager/controller.php ' ;
10+
11+
You can’t perform that action at this time.
0 commit comments