WP example


$GLOBALS['wp_rewrite'] = new WP_Rewrite();

/** * WordPress Object * * @global WP $wp Current WordPress environment instance. * @since 2.0.0 */
$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 */
Home | Imprint | This part of the site doesn't use cookies.