WP_Widget_Factory example


$GLOBALS['wp'] = new WP();

/** * WordPress Widget Factory Object * * @global WP_Widget_Factory $wp_widget_factory * @since 2.8.0 */
$GLOBALS['wp_widget_factory'] = new WP_Widget_Factory();

/** * WordPress User Roles * * @global WP_Roles $wp_roles WordPress role management object. * @since 2.0.0 */
$GLOBALS['wp_roles'] = new WP_Roles();

/** * Fires before the theme is loaded. * * @since 2.6.0 */
Home | Imprint | This part of the site doesn't use cookies.