Exemple #1
0
/**
 * Begins execution of the plugin.
 *
 * Since everything within the plugin is registered via hooks,
 * then kicking off the plugin from this point in the file does
 * not affect the page life cycle.
 *
 * Also returns copy of the app object so 3rd party developers
 * can interact with the plugin's hooks contained within.
 *
 * @return   Plugin_Name\App    App Plugin's app object
 * @since    1.0.0
 */
function plugin_name()
{
    return Plugin_Name::init();
}