admin
2 months ago
register-hooks
3 years ago
class-wpel-front-ignore.php
3 years ago
class-wpel-front.php
4 months ago
class-wpel-link.php
3 years ago
class-wpel-plugin.php
1 year ago
class-wpel-register-scripts.php
2 months ago
class-wpel-template-tags.php
3 years ago
class-wpel-update.php
3 years ago
index.php
6 years ago
class-wpel-template-tags.php
39 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Class WPEL_Template_Tags |
| 4 | * |
| 5 | * @package WPEL |
| 6 | * @category WordPress Plugin |
| 7 | * @version 2.3 |
| 8 | * @link https://www.webfactoryltd.com/ |
| 9 | * @license Dual licensed under the MIT and GPLv2+ licenses |
| 10 | */ |
| 11 | final class WPEL_Template_Tags extends FWP_Template_Tag_Base_1x0x0 |
| 12 | { |
| 13 | |
| 14 | /** |
| 15 | * @var WPEL_Front |
| 16 | */ |
| 17 | private $front = null; |
| 18 | |
| 19 | /** |
| 20 | * Initialize |
| 21 | * @param WPEL_Front $front |
| 22 | */ |
| 23 | protected function init( WPEL_Front $front ) |
| 24 | { |
| 25 | $this->front = $front; |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Template tag funtion |
| 30 | * @param string $content |
| 31 | * @return string |
| 32 | */ |
| 33 | public function wpel_filter( $content ) |
| 34 | { |
| 35 | return $this->front->scan( $content ); |
| 36 | } |
| 37 | |
| 38 | } |
| 39 |