Last active
June 15, 2022 08:32
-
-
Save nextab/b3a0e6c7d8e0da5ee62f9302e6befebf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add a new dashboard widget to WordPress | |
function nextab_add_dashboard_widgets() { | |
wp_add_dashboard_widget('nxt_dev_info', 'Designer & Developer Info', 'nextab_theme_info'); | |
} | |
add_action('wp_dashboard_setup', 'nextab_add_dashboard_widgets' ); | |
// Populate dashboard widget data | |
function nextab_theme_info() { | |
echo '<ul> | |
<li><strong>Entwickelt von:</strong> <a href="http://www.nextab.de">nexTab.de</a></li> | |
<li><strong>E-Mail:</strong> <a href="mailto:info@nextab.de">info@nextab.de</a></li> | |
<li><strong>Mobil:</strong> <a href="tel:+491608436001">0160 / 843 6001</a></li> | |
</ul>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment