PluginProbe
WebTotem Security / 2.3.31
WebTotem Security v2.3.31
3.0.1 3.0.0 trunk 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 2.0 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.1 2.2.2 2.2.3 2.2.4 All 109 releases
wt-security / helpers.php

helpers.php in WebTotem Security 2.3.31, at helpers.php

13 lines 344 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined('ABSPATH') or die("Protected By WT!");
3
4 function wtsec_isActivePage($page){
5 if(wtsec_request()->page === WTSEC_PAGE_PREFIX.$page){
6 return "wtotem_nav__link_active";
7 }
8 return "";
9 }
10
11 function wtsec_cutString($string, $length){
12 return (strlen($string) > $length) ? substr($string,0,$length).'...' : $string;
13 }