Location: PHPKode > projects > Template CMS > template_cms/config/PluginsFilters.php
<?php

    // Add default plugins filters    
    if (TEMPLATE_CMS_EVAL_PHP) addFilter('content', 'evalPHP');   

    addFilter('content', 'parseShortcode', 11);
    
    /**
     * Evaluate a string as PHP code
     * @param string $str String with PHP code.
     * @return mixed
     */
    function evalPHP($str) {
        return preg_replace_callback('/\[php\](.*?)\[\/php\]/ms', 'obEval', $str);
    }
Return current item: Template CMS