Pro Sites and Domain Mapping


from what I understand from Domain Mappings, the setting for allowing it to be available to ‘supporters’ (integration) is all or nothing – it uses is_supporter() which as I understand returns true or false.

What code would I need to replace

if(function_exists('is_supporter') && $sup == '1') {

// The supporter function exists and we are limiting domain mapping to supporters

if(is_supporter()) {

// Add the management page

to effectively make it available only for ceratin levels of subscription e.g.

if(is_supporter() *** and pro_sites level > 2 ****) {

// Add the management page