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

' . $activello_required_action_value['help']; endif; ?>

check_active( $activello_required_action_value['plugin_slug'] ); $url = $this->create_action_link( $active['needs'], $activello_required_action_value['plugin_slug'] ); $label = ''; switch ( $active['needs'] ) { case 'install': $class = 'install-now button'; $label = __( 'Install', 'activello' ); break; case 'activate': $class = 'activate-now button button-primary'; $label = __( 'Activate', 'activello' ); break; case 'deactivate': $class = 'deactivate-now button'; $label = __( 'Deactivate', 'activello' ); break; } ?>

$plugin_opt ) { if ( ! $plugin_opt['recommended'] ) { continue; } if ( MT_Notify_System::has_import_plugin( $slug ) ) { continue; } if ( 0 == $nr_recommended_plugins ) { echo '

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

'; } $nr_recommended_plugins ++; echo '
'; if ( ! isset( $activello_show_recommended_plugins[ $slug ] ) || ( isset( $activello_show_recommended_plugins[ $slug ] ) && $activello_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', 'activello' ); break; case 'activate': $class = 'activate-now button button-primary'; $label = __( 'Activate', 'activello' ); break; case 'deactivate': $class = 'deactivate-now button'; $label = __( 'Deactivate', 'activello' ); break; } ?>

name ?>

short_description ?>

'; }// End foreach(). endif; if ( 0 == $nr_recommended_plugins && 0 == $nr_actions_required ) { echo '' . __( 'Hooray! There are no required actions for you right now.', 'activello' ) . ''; } ?>