PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.8.1
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.8.1
4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 All 200 releases
betterdocs / views / admin / docs-ui / classic-partials / author.php

author.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 3.8.1, at views/admin/docs-ui/classic-partials/author.php

16 lines 567 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $author = ( isset( $_GET['author'] ) ) ? $_GET['author'] : '';
3 $users = $helper->get_users( ['role__in' => ['administrator', 'editor', 'author', 'contributor']] );
4 ?>
5 <select
6 id="dashboard-select-author"
7 class="dashboard-search-field dashboard-select-author"
8 name="author">
9 <option value="all"><?php _e( 'All Authors', 'betterdocs' )?></option>
10 <?php
11 foreach ( $users as $user ) {
12 echo betterdocs()->template_helper->option_kses( $user->data->ID, $user->data->display_name, $author );
13 }
14 ?>
15 </select>
16