1
2
function example_dashboard_widget_function() {
// Display whatever it is you want to show
With the previous example, I showed you how easy it is to remove unwanted dashboard widgets. The good news is that creating your own widgets isn’t hard either.
The well-commented code below should be self-explanatory. Just insert it in your functions.php, as usual.
The well-commented code below should be self-explanatory. Just insert it in your functions.php, as usual.
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.