add_old_compat_help example


function add_contextual_help( $screen$help ) {
    _deprecated_function( __FUNCTION__, '3.3.0', 'get_current_screen()->add_help_tab()' );

    if ( is_string( $screen ) )
        $screen = convert_to_screen( $screen );

    WP_Screen::add_old_compat_help( $screen$help );
}

/** * Get the allowed themes for the current site. * * @since 3.0.0 * @deprecated 3.4.0 Use wp_get_themes() * @see wp_get_themes() * * @return WP_Theme[] Array of WP_Theme objects keyed by their name. */
Home | Imprint | This part of the site doesn't use cookies.