[WordPress] Add theme info box into Dashboard

function template_add_dashboard_widgets() { wp_add_dashboard_widget('wp_dashboard_widget', 'Widgets title', 'template_theme_info'); } add_action('wp_dashboard_setup', 'template_add_dashboard_widgets' ); function template_theme_info() { echo "Widget's content"; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.