PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.3
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.3
4.9.3 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 All 201 releases
betterdocs / views / admin / email / analytics / search-keyword.php

search-keyword.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.3, at views/admin/email/analytics/search-keyword.php

44 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- view template receives variables via extract(); prefixing is impractical.
3
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7 if ( empty( $keywords ) || ! is_array( $keywords ) ) {
8 return;
9 }
10 ?>
11
12 <tr>
13 <td style="text-align: left; font-size: 20px; padding-top: 40px;">
14 <?php esc_html_e( 'Most Searched Keywords', 'betterdocs' ); ?>
15 </td>
16 </tr>
17 <tr>
18 <td>
19 <table style="width: 100%; border-collapse: separate; border-spacing: 2px; padding-top: 20px;">
20 <tr style="background: #fff;">
21 <th style="text-align: left; font-size: 14px; font-weight: 600; color:#6e6e73; text-transform: capitalize; padding: 8px 15px; width: 50%;">
22 <?php esc_html_e( 'Search Keyword', 'betterdocs' ); ?>
23 </th>
24 <th style="text-align: center; font-size: 14px; font-weight: 600; color:#6e6e73; text-transform: capitalize; padding: 8px 15px">
25 <?php esc_html_e( 'Total Search', 'betterdocs' ); ?>
26 </th>
27 <th style="text-align: center; font-size: 14px; font-weight: 600; color:#6e6e73; text-transform: capitalize; padding: 8px 15px">
28 <?php esc_html_e( 'Result Found', 'betterdocs' ); ?>
29 </th>
30 </tr>
31 <?php
32 foreach ( $keywords as $keyword ) {
33 betterdocs()->views->get(
34 'admin/email/analytics/parts/single-keyword',
35 [
36 'keyword' => $keyword
37 ]
38 );
39 }
40 ?>
41 </table>
42 </td>
43 </tr>
44