403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.46
Web Server : Apache
System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : infrafs ( 43850)
PHP Version : 8.2.29
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/infrafs/bike/wp-content/plugins/colibri-page-builder/extend-builder/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/infrafs/bike/wp-content/plugins/colibri-page-builder/extend-builder/shortcodes/base.php
<?php

namespace ExtendBuilder;

function set_shortcode_output($tag, $output) {
    $key = "colibri_shortcodes_output";
    $colibri_run = colibri_cache_get($key);
    $colibri_run[$tag] = $output;
    colibri_cache_set($key, $colibri_run);
}

function get_shortcodes_output() {
    $key = "colibri_shortcodes_output";
    return colibri_cache_get($key);
}

function get_shortcode_output($tag) {
    $outputs = get_shortcodes_outputs();
    return array_get_value($outputs, $tag, null);
}


add_filter('do_shortcode_tag', function ( $output, $tag, $attr, $m) {
    if ($output && strpos($tag, "colibri_") !== FALSE) {
        set_shortcode_output($tag, $output);
        return $output;
    }
    return $output;
}, PHP_INT_MAX, 4);

add_shortcode( 'colibri_layout_wrapper', function ( $attrs , $content = null) {
    $atts = shortcode_atts(
        array(
            "name" => "",
        ),
        $attrs
    );

    $name = $atts['name'];
    $escaped_content = do_shortcode( $content );
    return apply_filters('colibri_layout_wrapper_output_' . $name, $escaped_content);
} );

Youez - 2016 - github.com/yon3zu
LinuXploit