set_screen_reader_content( array( 'heading_views' => __( 'Filter posts list', 'wordpress-seo' ), 'heading_pagination' => __( 'Posts list navigation', 'wordpress-seo' ), 'heading_list' => __( 'Posts list', 'wordpress-seo' ), ) ); // If type is empty, fill it with value of first tab (title). $_GET['type'] = ( ! empty( $_GET['type'] ) ) ? $_GET['type'] : 'title'; if ( ! empty( $_REQUEST['_wp_http_referer'] ) ) { wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), stripslashes( $_SERVER['REQUEST_URI'] ) ) ); exit; } /** * Outputs a help center. * * @param string $id The id for the tab. */ function render_help_center( $id ) { $helpcenter_tab = new WPSEO_Option_Tab( 'bulk-' . $id, __( 'Bulk editor', 'wordpress-seo' ), array( 'video_url' => 'https://yoa.st/screencast-tools-bulk-editor' ) ); $helpcenter = new WPSEO_Help_Center( 'bulk-editor' . $id, $helpcenter_tab ); $helpcenter->output_help_center(); } /** * Renders a bulk editor tab. * * @param WPSEO_Bulk_List_Table $table The table to render. * @param string $id The id for the tab. */ function get_rendered_tab( $table, $id ) { ?>