get_statistics(); $can_run_audit = Ahrefs_Seo_Data_Content::get()->can_run_new_audit(); $paused = Content_Audit::audit_is_paused(); $audit_in_progress = $stat['in_progress']; // both active or paused. $allow_run_audit = current_user_can( Ahrefs_Seo::CAP_CONTENT_AUDIT_RUN ); // For both [Run new audit] and [Resume] buttons. $allow_scope = current_user_can( Ahrefs_Seo::CAP_SETTINGS_AUDIT_VIEW ); if ( ! isset( $locals['header_class'] ) || ! is_array( $locals['header_class'] ) ) { $locals['header_class'] = []; } ?>
title="" > title="" >
0 ) { ?> style="width: " data-position=" 0 ? $stat['percents'] : '0' ); ?>" >
0 ) { echo esc_html( str_replace( '{0}', number_format( $stat['percents'], $stat['percents'] < 10 ? 2 : 1 ), _x( 'Analyzing: {0}%', 'button title', 'ahrefs-seo' ) ) ); } else { /* Translators: Button title at the header, must be short */ echo esc_html_x( 'Analyzing...', 'button title', 'ahrefs-seo' ); } ?>