public static function importPublishingGroups()
    {
        $api_url = get_field('event_api_url', 'option');
        if ($api_url) {
            $api_url = rtrim($api_url, '/') . '/user_groups';
            new Parser\EventManagerGroups($api_url);
        }
    }
public static function importPublishingGroups()
    {
        $api_url = get_field('event_api_url', 'option');
        if ($api_url) {
            $api_url = rtrim($api_url, '/') . '/user_groups';
            new Parser\EventManagerGroups($api_url);
        }
    }
public static function importPublishingGroups ( ) { $ api_url = get_field ( 'event_api_url' , 'option' ) ; if ( $ api_url ) { $ api_url = rtrim ( $ api_url , '/' ) . '/user_groups' ; new Parser \ EventManagerGroups ( $ api_url ) ; } }
Import publishing groups from Event Manager API
@return void
Import publishing groups from Event Manager API