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 / parts / single-keyword.php

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

30 lines 1.2 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 // phpcs:disable PluginCheck.CodeAnalysis.Offloading.OffloadedContent -- HTML email assets must be remote.
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7 /**
8 * @var object $keyword
9 */
10
11 if ( $keyword->count > 0 ) {
12 $found_icon = '<img style="width: 14px;" src="https://betterdocs.co/wp-content/uploads/2022/12/tik.png" alt="" />';
13 } else {
14 $found_icon = '<img style="width: 14px;" src="https://betterdocs.co/wp-content/uploads/2022/12/nontik.png" alt="" />';
15 }
16
17 ?>
18
19 <tr style="background: #fff;">
20 <td style="text-align: left; font-size: 14px; color:#1d1d1f; border-width: 1px; border-style: solid; border: none; padding: 8px 15px;">
21 <?php echo esc_html( $keyword->keyword ); ?>
22 </td>
23 <td style="text-align: center; font-size: 14px; color:#1d1d1f; border-width: 1px; border-style: solid; border: none; padding: 8px 15px;">
24 <?php echo esc_html( $keyword->total_search ); ?>
25 </td>
26 <td style="text-align: center; font-size: 14px; color:#1d1d1f; border-width: 1px; border-style: solid; border: none; padding: 8px 15px;">
27 <?php echo wp_kses_post( $found_icon ); ?>
28 </td>
29 </tr>
30