affiliate_id ) ? $affiliate->affiliate_id : ''; // get the affiliate's rates $rates = affiliatewp_affiliate_product_rates()->get_rates( $affiliate_id ); if ( ! $rates ) { $rates = array(); } ?> supported_integrations(); $enabled_integrations = affiliate_wp()->integrations->get_enabled_integrations(); if ( $enabled_integrations ) { echo '
' . __( 'Product Rates', 'affiliatewp-affiliate-product-rates' ) . '
'; } // add a table for each integration foreach ( $enabled_integrations as $integration_key => $integration ) { // make sure we only load a table for our supported integrations if ( in_array( $integration_key, $supported_integrations ) ) { ?>| × | |||
| × | |||