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
function ak_dashboard_widget() { ?> | |
<p>stuff</p> | |
<?php | |
} | |
function ak_add_dashboard_widget() { | |
wp_add_dashboard_widget('wp_dashboard_widget', 'Welcome to This Site', 'ak_dashboard_widget'); | |
} | |
add_action('wp_dashboard_setup', 'ak_add_dashboard_widget'); |
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
function ak_remove_footer_admin() { ?> | |
<p>© <?php echo date('Y'); ?> sitename.com</p> | |
<?php | |
} | |
add_filter('admin_footer_text', 'ak_remove_footer_admin'); |
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
function ak_custom_login_logo() { | |
wp_enqueue_style( 'ak_custom_login_logo', get_stylesheet_directory_uri() . '/login.css' ); | |
} | |
add_action('login_head', 'ak_smj_custom_login_logo'); |
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
remove_action( 'wp_head', 'wp_generator'); |
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_filter ( 'login_errors', create_function ('$a', "return null;")); |
NewerOlder