/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// example custom dashboard widget function custom_dashboard_widget() { echo "<p>Hello World</p>"; } function add_custom_dashboard_widget() { wp_add_dashboard_widget('custom_dashboard_widget', 'Some text exaplining things', 'custom_dashboard_widget'); } add_action('wp_dashboard_setup', 'add_custom_dashboard_widget');
Comments
