' . esc_html__('Activate', 'profile-builder') . '';
// If add-on is network activated don't allow deactivation
} elseif (!$pms_add_on_is_network_active) {
echo '
' . esc_html__('Deactivate', 'profile-builder') . '';
}
// Display message to the user
if( !$pms_add_on_is_active ){
echo '
' . sprintf(__('Plugin is %1$s inactive %2$s', 'profile-builder'), '', '' ) . '';
} else {
echo '
' . sprintf(__('Plugin is %1$s active %2$s', 'profile-builder'), '', '' ) . '';
}
} else {
// If we're on a multisite don't add the wpp-add-on-download class to the button so we don't fire the js that
// handles the in-page download
if (is_multisite()) {
$wppb_paid_link_class = 'button-secondary';
$wppb_paid_link_text = __('Download Now', 'profile-builder' );
} else {
$wppb_paid_link_class = 'button-secondary wppb-add-on-download';
$wppb_paid_link_text = __('Install Now', 'profile-builder');
}
echo '
' . esc_html( $wppb_paid_link_text ) . '';
echo '
' . esc_html__('Compatible with your version of Profile Builder.', 'profile-builder') . '';
}
?>
install manually.', 'profile-builder'), esc_url( 'http://www.wordpress.org/plugins/paid-member-subscriptions' )) ?>. */ ?>