Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ...
- function my_dashboard_html() {
- ?>
- <div class="wrap">
- <div id="dashboard-widgets-wrap">
- <?php wp_dashboard(); ?>
- </div>
- </div>
- <?php
- }
- function my_dashboard_help () {
- require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
- wp_enqueue_script( 'dashboard' );
- do_action( 'register_my_dashboard_widgets' );
- $screen = get_current_screen();
- ...
Add Comment
Please, Sign In to add comment