Esempio n. 1
0
/**
 * Utility function to load our custom version of FEE.
 *
 * We extend the regular {@link FEE} class to fix a few issues.
 */
function cacsp_wp_fee_load()
{
    require Social_Paper::$PATH . '/includes/class-cacsp-fee.php';
    Social_Paper::$FEE = new CACSP_FEE();
    // re-run init routine.
    // we need to manually call FEE's init() method since we're calling this after
    // the 'init' hook
    Social_Paper::$FEE->init();
}