' . $affluent_required_action_value['help']; endif; ?>
check_active( $affluent_required_action_value['plugin_slug'] );
$url = $this->create_action_link( $active['needs'], $affluent_required_action_value['plugin_slug'] );
$label = '';
switch ( $active['needs'] ) {
case 'install':
$class = 'install-now button';
$label = __( 'Install', 'affluent' );
break;
case 'activate':
$class = 'activate-now button button-primary';
$label = __( 'Activate', 'affluent' );
break;
case 'deactivate':
$class = 'deactivate-now button';
$label = __( 'Deactivate', 'affluent' );
break;
}
?>
$plugin_opt ) {
if ( !$plugin_opt['recommended'] ) {
continue;
}
if ( MT_Notify_System::has_plugin( $slug ) ) {
continue;
}
if ( $nr_recommended_plugins == 0 ) {
echo '';
if ( isset($affluent_show_recommended_plugins[$slug]) && $affluent_show_recommended_plugins[$slug] ): ?>
check_active( $slug );
$url = $this->create_action_link( $active['needs'], $slug );
$info = $this->call_plugin_api( $slug );
$label = '';
$class = '';
switch ( $active['needs'] ) {
case 'install':
$class = 'install-now button';
$label = __( 'Install', 'affluent' );
break;
case 'activate':
$class = 'activate-now button button-primary';
$label = __( 'Activate', 'affluent' );
break;
case 'deactivate':
$class = 'deactivate-now button';
$label = __( 'Deactivate', 'affluent' );
break;
}
?>
name ?>
short_description ?>
';
}
endif;
if ( $nr_recommended_plugins == 0 && $nr_actions_required == 0 ) {
echo '
' . __( 'Hooray! There are no required actions for you right now.', 'affluent' ) . '';
}
?>