$affluent_required_action_value ): $hidden = false; if ( @$affluent_show_required_actions[ $affluent_required_action_value['id'] ] === false ) { $hidden = true; } if ( @$affluent_required_action_value['check'] ) { continue; } $nr_actions_required ++; if ( $hidden ) { $nr_action_dismissed ++; } ?>

' . $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 ( Affluent_Notify_System::has_plugin( $slug ) ) { continue; } if ( $nr_recommended_plugins == 0 ) { echo '

' . __( 'Hooray! There are no required actions for you right now. But you can make your theme more powerful with next actions: ', 'affluent' ) . '

'; } $nr_recommended_plugins ++; 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' ) . ''; } ?>