Changeset 2084 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
- Timestamp:
- 11/16/2015 09:04:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
r2081 r2084 1 1 <?php 2 /** 3 * WP.org login' functions and definitions. 4 * 5 * @package wporg-login 6 */ 2 7 8 9 10 /** 11 * Registers support for various WordPress features. 12 */ 13 function wporg_login_setup() { 14 load_theme_textdomain( 'wporg-login' ); 15 } 16 add_action( 'after_setup_theme', 'wporg_login_setup' ); 17 18 19 20 /** 21 * Extend the default WordPress body classes. 22 * 23 * @param array $classes A list of existing body class values. 24 * @return array The filtered body class list. 25 */ 3 26 function wporg_login_body_class( $classes ) { 4 27 // $classes[] = 'wporg-responsive'; … … 8 31 add_filter( 'body_class', 'wporg_login_body_class' ); 9 32 33 34 35 /** 36 * Remove the toolbar. 37 */ 10 38 function wporg_login_init() { 11 // We don't need the toolbar on this site.12 39 show_admin_bar( false ); 13 40 }
Note: See TracChangeset
for help on using the changeset viewer.