Whoops \ Exception \ ErrorException (E_WARNING)
Use of undefined constant fad_ore - assumed 'fad_ore' (this will throw an Error in a future version of PHP) Whoops\Exception\ErrorException thrown with message "Use of undefined constant fad_ore - assumed 'fad_ore' (this will throw an Error in a future version of PHP)" Stacktrace: #25 Whoops\Exception\ErrorException in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php:52 #24 Whoops\Run:handleError in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php:52 #23 eval in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php:52 #22 WINP_SnippetShortcodePhp:html in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/libs/factory/shortcodes/shortcode.class.php:287 #21 Wbcr_FactoryShortcodes333_Shortcode:render in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/libs/factory/shortcodes/shortcodes.php:96 #20 Wbcr_FactoryShortcodes333_ShortcodeManager:__call in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/shortcodes.php:355 #19 do_shortcode_tag in [internal]:0 #18 preg_replace_callback in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/shortcodes.php:227 #17 do_shortcode in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/inc/functions/post.php:222 #16 porto_the_content in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/inc/functions/post.php:170 #15 porto_get_excerpt in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/inc/functions/woocommerce.php:687 #14 porto_woocommerce_single_excerpt in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/class-wp-hook.php:308 #13 WP_Hook:apply_filters in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/class-wp-hook.php:332 #12 WP_Hook:do_action in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/plugin.php:517 #11 do_action in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/content-product.php:122 #10 require in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/template.php:785 #9 load_template in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284 #8 wc_get_template_part in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/archive-product-content.php:147 #7 require in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/template.php:785 #6 load_template in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284 #5 wc_get_template_part in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/archive-product.php:18 #4 include in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php:345 #3 wc_get_template in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/templates/taxonomy-product-tag.php:22 #2 include in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/template-loader.php:106 #1 require_once in /var/www/vhosts/confeuropacademy.org/httpdocs/wp-blog-header.php:19 #0 require in /var/www/vhosts/confeuropacademy.org/httpdocs/index.php:17
Stack frames (26)
25
Whoops
\
Exception
\
ErrorException
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
52
24
Whoops
\
Run
handleError
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
52
23
eval
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
52
22
WINP_SnippetShortcodePhp
html
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
libs
/
factory
/
shortcodes
/
shortcode.class.php
287
21
Wbcr_FactoryShortcodes333_Shortcode
render
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
libs
/
factory
/
shortcodes
/
shortcodes.php
96
20
Wbcr_FactoryShortcodes333_ShortcodeManager
__call
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
shortcodes.php
355
19
do_shortcode_tag
[internal]
0
18
preg_replace_callback
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
shortcodes.php
227
17
do_shortcode
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
inc
/
functions
/
post.php
222
16
porto_the_content
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
inc
/
functions
/
post.php
170
15
porto_get_excerpt
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
inc
/
functions
/
woocommerce.php
687
14
porto_woocommerce_single_excerpt
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
class-wp-hook.php
308
13
WP_Hook
apply_filters
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
class-wp-hook.php
332
12
WP_Hook
do_action
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
plugin.php
517
11
do_action
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
woocommerce
/
content-product.php
122
10
require
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template.php
785
9
load_template
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
wc-core-functions.php
284
8
wc_get_template_part
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
woocommerce
/
archive-product-content.php
147
7
require
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template.php
785
6
load_template
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
wc-core-functions.php
284
5
wc_get_template_part
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
woocommerce
/
archive-product.php
18
4
include
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
wc-core-functions.php
345
3
wc_get_template
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
templates
/
taxonomy-product-tag.php
22
2
include
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template-loader.php
106
1
require_once
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-blog-header.php
19
0
require
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
index.php
17
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
        if ( ! $snippet || empty( $snippet_meta ) ) {
            return;
        }

        $attr = $this->filterAttributes( $attr, $id );

        // Let users pass arbitrary variables, through shortcode attributes.
        // @since 2.0.5
        extract( $attr, EXTR_SKIP );

        $is_activate     = $this->getSnippetActivate( $snippet_meta );
        $snippet_scope   = $this->getSnippetScope( $snippet_meta );
        $snippet_content = $this->getSnippetContent( $snippet, $snippet_meta, $id );

        if ( ! $is_activate || empty( $snippet_content ) || $snippet_scope != 'shortcode' || WINP_Helper::is_safe_mode() ) {
            return;
        }

        eval( $snippet_content );
    }

}
Arguments
  1. "Use of undefined constant fad_ore - assumed 'fad_ore' (this will throw an Error in a future version of PHP)"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
        if ( ! $snippet || empty( $snippet_meta ) ) {
            return;
        }

        $attr = $this->filterAttributes( $attr, $id );

        // Let users pass arbitrary variables, through shortcode attributes.
        // @since 2.0.5
        extract( $attr, EXTR_SKIP );

        $is_activate     = $this->getSnippetActivate( $snippet_meta );
        $snippet_scope   = $this->getSnippetScope( $snippet_meta );
        $snippet_content = $this->getSnippetContent( $snippet, $snippet_meta, $id );

        if ( ! $is_activate || empty( $snippet_content ) || $snippet_scope != 'shortcode' || WINP_Helper::is_safe_mode() ) {
            return;
        }

        eval( $snippet_content );
    }

}
Arguments
  1. 2
    
  2. "Use of undefined constant fad_ore - assumed 'fad_ore' (this will throw an Error in a future version of PHP)"
    
  3. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php(52) : eval()'d code"
    
  4. 57
    
  5. array:19 [
      "attr" => array:3 [
        "id" => "1127"
        "iddo" => "49"
        "tutto" => "0"
      ]
      "content" => ""
      "tag" => "wbcr_php_snippet"
      "id" => 1127
      "snippet" => WP_Post {}
      "snippet_meta" => array:15 [
        "_edit_lock" => array:1 [
          0 => "1625825250:2"
        ]
        "_edit_last" => array:1 [
          0 => "2"
        ]
        "dfiFeatured" => array:1 [
          0 => "a:1:{i:0;s:0:"";}"
        ]
        "rs_page_bg_color" => array:1 [
          0 => ""
        ]
        "wbcr_inp_snippet_location" => array:1 [
          0 => "header"
        ]
        "wbcr_inp_snippet_type" => array:1 [
          0 => "php"
        ]
        "wbcr_inp_snippet_linking" => array:1 [
          0 => ""
        ]
        "wbcr_inp_snippet_priority" => array:1 [
          0 => "320"
        ]
        "wbcr_inp_snippet_filters" => array:1 [
          0 => ""
        ]
        "wbcr_inp_changed_filters" => array:1 [
          0 => "0"
        ]
        "wbcr_inp_snippet_activate" => array:1 [
          0 => "1"
        ]
        "wbcr_inp_snippet_scope" => array:1 [
          0 => "shortcode"
        ]
        "wbcr_inp_snippet_custom_name" => array:1 [
          0 => ""
        ]
        "wbcr_inp_snippet_description" => array:1 [
          0 => ""
        ]
        "wbcr_inp_snippet_tags" => array:1 [
          0 => "iddo,tutto,programmas"
        ]
      ]
      "is_activate" => true
      "snippet_scope" => "shortcode"
      "snippet_content" => """
        $servername = "85.94.218.162";\r\n
        $username = "wp123";\r\n
        $password = "0nl1n3@1982";\r\n
        $dbname = "confeuronew";\r\n
        \r\n
        /*$conn = new mysqli($servername, $username, $password, $dbname);\r\n
        if ($conn->connect_error) {\r\n
            die("Connection failed: " . $conn->connect_error);\r\n
        } \r\n
        */\r\n
        \r\n
        \r\n
        $nConnection = mysqli_connect($servername,$username, $password);\r\n
        mysqli_select_db($nConnection,$dbname);\r\n
        //mysqli_query($nConnection,"SET CHARACTER SET utf8 ");\r\n
        \r\n
        $sql = "SELECT * FROM fad_corsi where idfad=".$iddo;\r\n
        $rs=mysqli_query($nConnection,$sql);\r\n
        $row=mysqli_fetch_array($rs,MYSQLI_BOTH);\r\n
        \r\n
        \r\n
        \r\n
        switch ($programmas)\r\n
        {\r\n
        \tcase 1:\t\t\techo nl2br($row[fad_programma]);\r\n
        \t\t\t\t\tbreak;\r\n
        \tcase 2:\t\t\t?>\r\n
        \t\t\t\t\tPer l'utilizzo dei corsi in modalità e-Learning è sufficente un computer, notebook, smartphone o tablet aggiornato e con una connessione a internet.<BR>\r\n
        \t\t\t\t\t\t\tI corsi sono disponibili 24/24h durante l'intero periodo di attivazione e possono essere svolti anche in sessioni multiple, senza perdere lo stato di avanzamento.<BR><BR>\r\n
        \t\t\t\t\t\t\tPer i corsi che prevedono la videoconferenza con il docente, sarà necessario collegarsi nelle modalità fornite e negli orari specifici indicati.\t\t\r\n
        \t\t\t\t\t<?php\r\n
        \t\t\t\t\tbreak;\r\n
        \tdefault:\t\r\n
        \tif ($tutto==1)\r\n
        \t{\t?>\r\n
        \t\t<ul><?php if ($row[fad_info]) { ?>\r\n
        \t\t\t<li><strong>Informazioni</strong>: <?php echo $row[fad_info];?><?php } ?>\r\n
        \t\t\t<?php if ($row["fad_mex1"]) echo "<br>".$row[fad_mex1];?></li>\r\n
        \t\t\t<li><strong>Durata</strong>: <?php echo $row[fad_ore];?><?php ?> ore </li>\r\n
        \t\t\t<li><strong>Riferimenti Legislativi</strong>: <?php echo $row[fad_desc];?></li>\r\n
        \t\t\t<?php if ($row[fad_plus]) { ?>\r\n
        \t\t\t<li><strong>Specifiche</strong>: <?php echo $row[fad_plus];?></li><?php } ?>\r\n
        \t\t\t<?php if ($row[fad_agg]>0) { ?>\r\n
        \t\t\t<li><strong>Aggiornamento</strong>: <?php echo $row[fad_agg];?> anni</li><?php } ?>\r\n
        \t\t\t<li><strong>Codice Corso</strong>: <?php echo $row[fad_short];?></li>\r\n
        \t\t\t<li><strong>Durata del corso</strong>: <?php echo $row[fad_ore];?> ore online</li>\r\n
        \t\t\t<li><?php if ($row[fad_piu]) { echo "Richiede formazione frontale aggiuntiva";} else { echo "Il corso si può svolgere completamente in modalit e-Learning";} ?></li>\r\n
        \t\t\t<li><strong>Metodologia di svolgimento</strong>: Il percorso formativo è utilizzabile per un massimo 4 mesi dalla data di attivazione.\r\n
        \t\t\t\t\t\t<br>Ogni discente ha un accesso personale.<br>\r\n
        \t\t\t\t\t\tIl percorso formativo è suddiviso in materiale di apprendimento con durate minime e tracciatura dello svolgimento. \r\n
        \t\t\t\t\t\tAl termine di ogni passaggio è previsto un test di apprendimento che abilita i passaggi successivi.<br>\r\n
        \t\t\t\t\t\tSolo al termine del corso (superando tutti i test, incluso il test di valutazione finale) è possibile richiedere l'attestato di formazione.\t</li>\r\n
        \t </ul>\r\n
                                            \r\n
        \t<?php\r\n
        \t} else { \r\n
        \t?><strong>Durata</strong>: <?php echo $row[fad_ore];?> ore     <div style="display:block"></div><BR><?\r\n
        \t\techo $row[fad_info]; \r\n
        \t\tif ($row["fad_var"]) echo "<br>".$row[fad_var];\r\n
        \t\techo "<br>";\r\n
        \t\t?><strong>Codice Corso</strong>: <?php echo $row[fad_short];?>\r\n
        \t<?php } //tutto\r\n
        break;\r\n
        } //programma\r\n
        \r\n
        """
      "iddo" => "49"
      "tutto" => "0"
      "servername" => "85.94.218.162"
      "username" => "wp123"
      "password" => "0nl1n3@1982"
      "dbname" => "confeuronew"
      "nConnection" => mysqli {}
      "sql" => "SELECT * FROM fad_corsi where idfad=49"
      "rs" => mysqli_result {}
      "row" => array:106 [
        0 => "49"
        "idfad" => "49"
        1 => "Stress Lavoro Correlato"
        "fad_nome" => "Stress Lavoro Correlato"
        2 => "Valido per 2 crediti formativi a scelta tra: Preposto, Lavoratore, Formatore, ASPP,RSPP, Coordinatore Sicurezza. "
        "fad_desc" => "Valido per 2 crediti formativi a scelta tra: Preposto, Lavoratore, Formatore, ASPP,RSPP, Coordinatore Sicurezza. "
        3 => null
        "fad_desc2" => null
        4 => "25"
        "fad_prezzo" => "25"
        5 => "2"
        "fad_ore" => "2"
        6 => "2"
        "fad_step" => "2"
        7 => "1"
        "fad_online" => "1"
        8 => "CF-STRESS"
        "fad_short" => "CF-STRESS"
        9 => "0"
        "fad_personal" => "0"
        10 => "_cer_ebi"
        "fad_suffix" => "_cer_ebi"
        11 => "0"
        "fad_agg" => "0"
        12 => ""
        "fad_data" => ""
        13 => ""
        "fad_dove" => ""
        14 => "0"
        "fad_durata" => "0"
        15 => "0"
        "fad_scad" => "0"
        16 => "0"
        "fad_tipo" => "0"
        17 => "1"
        "fad_fax" => "1"
        18 => ""
        "fad_nomeatt" => ""
        19 => ""
        "fad_text" => ""
        20 => "0"
        "fad_piu" => "0"
        21 => "STRESS LAVORO CORRELATO"
        "fad_nome_vis" => "STRESS LAVORO CORRELATO"
        22 => "Sicurezza 81.2008 - Crediti Formativi"
        "fad_gruppo" => "Sicurezza 81.2008 - Crediti Formativi"
        23 => "SICUREZZA "
        "fad_law" => "SICUREZZA "
        24 => null
        "fad_plus" => null
        25 => "2"
        "fad_ord" => "2"
        26 => "380"
        "fad_gruppo_ord" => "380"
        27 => "Dott. Pasquale Minale - C.F. MNLPQL66H11F839Y"
        "fad_docente1" => "Dott. Pasquale Minale - C.F. MNLPQL66H11F839Y"
        28 => "Dott. Pietro Tindaro Ballarino - C.F. BLLPRT75S10F206O"
        "fad_docente2" => "Dott. Pietro Tindaro Ballarino - C.F. BLLPRT75S10F206O"
        29 => null
        "fad_requisiti" => null
        30 => "3"
        "fad_tipoatt" => "3"
        31 => "1"
        "fad_dp" => "1"
        32 => "70"
        "fad_perc" => "70"
        33 => ""
        "fad_var" => ""
        34 => "0"
        "fad_auth" => "0"
        35 => ""
        "fad_messaggio" => ""
        36 => null
        "fad_testoa" => null
        37 => null
        "fad_testob" => null
        38 => null
        "fad_font" => null
        39 => null
        "fad_prezzo_prt" => null
        40 => null
        "fad_prezzo_wps" => null
        41 => null
        "fad_pagina" => null
        42 => "Corso valido per l'ottenimento dei crediti formativi."
        "fad_info" => "Corso valido per l'ottenimento dei crediti formativi."
        43 => null
        "fad_ico" => null
        44 => null
        "fad_ico_gruppo" => null
        45 => ""
        "fad_mex1" => ""
        46 => null
        "fad_atthtml" => null
        47 => "0"
        "fad_elearning_att" => "0"
        48 => ""
        "fad_elearning_att_txta" => ""
        49 => ""
        "fad_elearning_att_txtb" => ""
        50 => ""
        "fad_noteinterne" => ""
        51 => """
          Il corso segue il programma Ministeriale,\r\n
          di seguito i macro argomenti contenuti all’interno del percorso formativo\r\n
          \r\n
          \tMobbing\r\n
          \tLa comunicazione\r\n
          \tLavorare in gruppo\r\n
          \tStress Lavoro Correlato\r\n
          """
        "fad_programma" => """
          Il corso segue il programma Ministeriale,\r\n
          di seguito i macro argomenti contenuti all’interno del percorso formativo\r\n
          \r\n
          \tMobbing\r\n
          \tLa comunicazione\r\n
          \tLavorare in gruppo\r\n
          \tStress Lavoro Correlato\r\n
          """
        52 => "attestato_unicusano"
        "fad_attestato" => "attestato_unicusano"
      ]
    ]
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
includes
/
shortcodes
/
shortcode-php.php
        if ( ! $snippet || empty( $snippet_meta ) ) {
            return;
        }

        $attr = $this->filterAttributes( $attr, $id );

        // Let users pass arbitrary variables, through shortcode attributes.
        // @since 2.0.5
        extract( $attr, EXTR_SKIP );

        $is_activate     = $this->getSnippetActivate( $snippet_meta );
        $snippet_scope   = $this->getSnippetScope( $snippet_meta );
        $snippet_content = $this->getSnippetContent( $snippet, $snippet_meta, $id );

        if ( ! $is_activate || empty( $snippet_content ) || $snippet_scope != 'shortcode' || WINP_Helper::is_safe_mode() ) {
            return;
        }

        eval( $snippet_content );
    }

}
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
libs
/
factory
/
shortcodes
/
shortcode.class.php
            if ( ! empty( $post ) && ! empty( $this->shortcode_name ) ) {
                $found_shortcodes = get_post_meta( $post->ID, self::$meta_key_shorcode_assets_for_posts, true );

                if ( $found_shortcodes && ! is_array( $found_shortcodes ) ) {

                    $shortcodes = $this->shortcode_name;
                    if ( ! is_array( $shortcodes ) ) {
                        $shortcodes = [ $this->shortcode_name ];
                    }

                    $found_shortcodes                     = [];
                    $found_shortcodes[ $shortcodes[0] ]   = [];
                    $found_shortcodes[ $shortcodes[0] ][] = $attr;

                    update_post_meta( $post->ID, self::$meta_key_shorcode_assets_for_posts, $found_shortcodes );
                }
            }

            ob_start();
            $this->html( $attr, $content, $tag );
            $html = ob_get_clean();

            //return nl2br($html);
            return $html;
        }

        /**
         * Configures assets (js and css) for the shortcodes.
         *
         * The method should be overwritten in a deferred class.
         *
         * @since 1.0.0
         * @return void
         */
        public function assets() {
        }


        public function onPostSave( $post ) {
        }
Arguments
  1. array:3 [
      "id" => "1127"
      "iddo" => "49"
      "tutto" => "0"
    ]
    
  2. ""
    
  3. "wbcr_php_snippet"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
insert-php
/
libs
/
factory
/
shortcodes
/
shortcodes.php
            public $connected = array();

            /**
             * This method allows to create a new shortcode object for each call.
             *
             * @param string $name A shortcode name.
             * @param array $arguments
             * @return string
             */
            public function __call($name, $arguments)
            {
                list($prefix, $type) = explode('_', $name, 2);
                
                if( $prefix !== 'shortcode' ) {
                    return;
                }

                $blank = new $type($this->class_to_plugin[$type]);

                return $blank->render($arguments[0], $arguments[1], $arguments[2]);
            }

            /**
             * Registers a new shortcode.
             *
             * @since 1.0.0
             * @param string $class_name A short code class name.
             * @return void
             */
            public function register($class_name, $plugin)
            {
                $shortcode = new $class_name($plugin);
                $shortcode->manager = $this;

                $this->shortcodes[] = $shortcode;

                foreach($shortcode->shortcode_name as $shortcode_name) {
                    $class_name = get_class($shortcode);

                    $this->class_to_plugin[$class_name] = $plugin;
Arguments
  1. array:3 [
      "id" => "1127"
      "iddo" => "49"
      "tutto" => "0"
    ]
    
  2. ""
    
  3. "wbcr_php_snippet"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Returning a non-false value from filter will short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param false|string $return Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or empty string.
     * @param array        $m      Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or empty string.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Searches only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
Arguments
  1. "shortcode_WINP_SnippetShortcodePhp"
    
  2. array:3 [
      0 => array:3 [
        "id" => "1127"
        "iddo" => "49"
        "tutto" => "0"
      ]
      1 => ""
      2 => "wbcr_php_snippet"
    ]
    
[internal]
Arguments
  1. array:7 [
      0 => "[wbcr_php_snippet id="1127" iddo=49 tutto=0]"
      1 => ""
      2 => "wbcr_php_snippet"
      3 => " id="1127" iddo=49 tutto=0"
      4 => ""
      5 => ""
      6 => ""
    ]
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
shortcodes.php
    if ( false === strpos( $content, '[' ) ) {
        return $content;
    }
 
    if ( empty( $shortcode_tags ) || ! is_array( $shortcode_tags ) ) {
        return $content;
    }
 
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>.
    $content = unescape_invalid_shortcodes( $content );
 
    return $content;
}
 
/**
 * Retrieves the shortcode regular expression for searching.
 *
 * The regular expression combines the shortcode tags in the regular expression
 * in a regex class.
 *
 * The regular expression contains 6 different sub matches to help with parsing.
 *
 * 1 - An extra [ to allow for escaping shortcodes with double [[]]
 * 2 - The shortcode name
 * 3 - The shortcode argument list
 * 4 - The self closing /
 * 5 - The content of a shortcode when it wraps some content.
Arguments
  1. "/\[(\[?)(wbcr_php_snippet)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/"
    
  2. "do_shortcode_tag"
    
  3. "[wbcr_php_snippet id="1127" iddo=49 tutto=0]"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
inc
/
functions
/
post.php
            }
        }
 
        if ( 'html' != $porto_settings['blog-excerpt-type'] ) {
            $content = '<p class="post-excerpt">' . $content . '</p>';
        }
 
        return $content;
    }
endif;
 
if ( ! function_exists( 'porto_the_content' ) ) :
    function porto_the_content( $content = null, $echo = true ) {
        if ( null === $content ) {
            $content = get_the_content();
        }
        if ( function_exists( 'has_blocks' ) && has_blocks( $content ) ) {
            $result = do_shortcode( do_blocks( $content ) );
        } else {
            $result = do_shortcode( $content );
        }
        if ( ! $echo ) {
            return $result;
        }
        echo porto_filter_output( $result );
    }
endif;
 
if ( ! function_exists( 'porto_get_attachment' ) ) :
    function porto_get_attachment( $attachment_id, $size = 'full', $force_resize = false ) {
        if ( ! $attachment_id ) {
            return false;
        }
        $attachment = get_post( $attachment_id );
        if ( ! $force_resize ) {
            $image = wp_get_attachment_image_src( $attachment_id, $size );
        } else {
            $image = porto_image_resize( $attachment_id, $size );
            if ( ! $image ) {
                return false;
Arguments
  1. "[wbcr_php_snippet id="1127" iddo=49 tutto=0]"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
inc
/
functions
/
post.php
endif;
 
if ( ! function_exists( 'porto_get_excerpt' ) ) :
    function porto_get_excerpt( $limit = 45, $more_link = true, $more_style_block = false ) {
        global $porto_settings;
 
        if ( ! $limit ) {
            $limit = 45;
        }
 
        if ( has_excerpt() ) {
            $content = get_the_excerpt();
        } else {
            $content = get_the_content();
        }
 
        $pattern = '/\[vc_custom_heading(.+?)?\](?:(.+?)?\[\/vc_custom_heading\])?/';
        $content = preg_replace( $pattern, '', $content );
 
        $content = porto_strip_tags( porto_the_content( $content, false ) );
 
        if ( isset( $porto_settings['blog-excerpt-base'] ) && 'characters' == $porto_settings['blog-excerpt-base'] ) {
            if ( mb_strlen( $content ) > $limit ) {
                $content = mb_substr( $content, 0, $limit ) . '...';
            }
        } else {
            $content = explode( ' ', $content, $limit );
 
            if ( count( $content ) >= $limit ) {
                array_pop( $content );
                if ( $more_link ) {
                    $content = implode( ' ', $content ) . '... ';
                } else {
                    $content = implode( ' ', $content ) . '...';
                }
            } else {
                $content = implode( ' ', $content );
            }
        }
 
Arguments
  1. "[wbcr_php_snippet id="1127" iddo=49 tutto=0]"
    
  2. false
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
inc
/
functions
/
woocommerce.php
}
function porto_woocommerce_shop_loop_item_title_close() {
    ?>
    </a>
    <?php
}
function porto_woocommerce_shop_loop_item_title() {
    echo '<h3 class="woocommerce-loop-product__title">';
    the_title();
    echo '</h3>';
}
function porto_woocommerce_single_excerpt() {
    global $post;
    if ( ! $post->post_excerpt ) {
        return;
    }
    ?>
    <div class="description">
        <?php //echo apply_filters( 'woocommerce_short_description', $post->post_excerpt ); ?>
        <?php echo apply_filters( 'woocommerce_short_description', porto_get_excerpt( apply_filters( 'porto_woocommerce_short_description_length', 30 ), false ) ); ?>
    </div>
    <?php
}
 
function porto_woocommerce_next_product( $in_same_cat = false, $excluded_categories = '' ) {
    porto_adjacent_post_link_product( $in_same_cat, $excluded_categories, false );
}
function porto_woocommerce_prev_product( $in_same_cat = false, $excluded_categories = '' ) {
    porto_adjacent_post_link_product( $in_same_cat, $excluded_categories, true );
}
function porto_adjacent_post_link_product( $in_same_cat = false, $excluded_categories = '', $previous = true ) {
    if ( $previous && is_attachment() ) {
        $post = get_post( get_post()->post_parent );
    } else {
        $post = get_adjacent_post( $in_same_cat, $excluded_categories, $previous, 'product_cat' );
    }
    if ( $previous ) {
        $label = 'prev';
    } else {
        $label = 'next';
Arguments
  1. 30
    
  2. false
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
class-wp-hook.php
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args                           = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
            $priority                                 = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 == $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
Arguments
  1. ""
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
     */
    public function do_action( $args ) {
        $this->doing_action = true;
        $this->apply_filters( '', $args );
 
        // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
        if ( ! $this->nesting_level ) {
            $this->doing_action = false;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
Arguments
  1. null
    
  2. array:1 [
      0 => ""
    ]
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
plugin.php
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    if ( empty( $arg ) ) {
        $arg[] = '';
    } elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
        // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
        $arg[0] = $arg[0][0];
    }
 
    $wp_filter[ $hook_name ]->do_action( $arg );
 
    array_pop( $wp_current_filter );
}
 
/**
 * Calls the callback functions that have been added to an action hook, specifying arguments in an array.
 *
 * @since 2.1.0
 *
 * @see do_action() This function is identical, but the arguments passed to the
 *                  functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_actions        Stores the number of times each action was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the action to be executed.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
 */
function do_action_ref_array( $hook_name, $args ) {
Arguments
  1. array:1 [
      0 => ""
    ]
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
woocommerce
/
content-product.php
    <div class="product-content">
        <?php do_action( 'porto_woocommerce_before_shop_loop_item_title' ); ?>
 
        <?php
            /**
             * Hook: woocommerce_shop_loop_item_title.
             *
             * @hooked woocommerce_template_loop_product_title - 10
             */
            do_action( 'woocommerce_shop_loop_item_title' );
        ?>
 
        <?php
            /**
             * Hook: woocommerce_after_shop_loop_item_title.
             *
             * @hooked woocommerce_template_loop_rating - 5
             * @hooked woocommerce_template_loop_price - 10
             */
            do_action( 'woocommerce_after_shop_loop_item_title' );
        ?>
 
        <?php
            /**
            * Hook: woocommerce_after_shop_loop_item.
            *
            * @hooked woocommerce_template_loop_product_link_close - 5 : removed
            * @hooked woocommerce_template_loop_add_to_cart - 10
            */
            do_action( 'woocommerce_after_shop_loop_item' );
        ?>
    </div>
</div>
</li>
 
Arguments
  1. "woocommerce_after_shop_loop_item_title"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template.php
 
    if ( isset( $s ) ) {
        $s = esc_attr( $s );
    }
 
    /**
     * Fires before a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $require_once   Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_before_load_template', $_template_file, $require_once, $args );
 
    if ( $require_once ) {
        require_once $_template_file;
    } else {
        require $_template_file;
    }
 
    /**
     * Fires after a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $require_once   Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_after_load_template', $_template_file, $require_once, $args );
}
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/content-product.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
wc-core-functions.php
                    "{$slug}.php",
                    WC()->template_path() . "{$slug}.php",
                )
            );
        }
 
        // Don't cache the absolute path so that it can be shared between web servers with different paths.
        $cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
 
        wc_set_template_cache( $cache_key, $cache_path );
    } else {
        // Make sure that the absolute path to the template is resolved.
        $template = wc_untokenize_path( $template, wc_get_path_define_tokens() );
    }
 
    // Allow 3rd party plugins to filter template file from their plugin.
    $template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
 
    if ( $template ) {
        load_template( $template, false );
    }
}
 
/**
 * Get other templates (e.g. product attributes) passing attributes and including the file.
 *
 * @param string $template_name Template name.
 * @param array  $args          Arguments. (default: array).
 * @param string $template_path Template path. (default: '').
 * @param string $default_path  Default path. (default: '').
 */
function wc_get_template( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
    $cache_key = sanitize_key( implode( '-', array( 'template', $template_name, $template_path, $default_path, Constants::get_constant( 'WC_VERSION' ) ) ) );
    $template  = (string) wp_cache_get( $cache_key, 'woocommerce' );
 
    if ( ! $template ) {
        $template = wc_locate_template( $template_name, $template_path, $default_path );
 
        // Don't cache the absolute path so that it can be shared between web servers with different paths.
        $cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/content-product.php"
    
  2. false
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
woocommerce
/
archive-product-content.php
                    }
                }
            }
 
            ob_start();
            echo woocommerce_maybe_show_product_subcategories();
            $products_count = 0;
        }
        ?>
        <?php
        if ( ! function_exists( 'wc_get_loop_prop' ) || wc_get_loop_prop( 'total' ) ) {
            while ( have_posts() ) {
                the_post();
 
                /**
                 * Hook: woocommerce_shop_loop.
                 */
                do_action( 'woocommerce_shop_loop' );
 
                wc_get_template_part( 'content', 'product' );
                if ( $skeleton_lazyload ) {
                    $products_count++;
                }
            }
        }
        if ( $skeleton_lazyload ) {
            $archive_content = ob_get_clean();
            echo '<script type="text/template">' . json_encode( $archive_content ) . '</script>';
        }
            woocommerce_product_loop_end();
        if ( $skeleton_lazyload ) {
            if ( $products_count < 1 ) {
                global $porto_products_cols_lg;
                $products_count = $porto_products_cols_lg;
            }
            echo porto_filter_output( $skeleton_body_start );
            for ( $i = 0; $i < $products_count; $i++ ) {
                echo '<li class="' . esc_attr( $sp_class ) . '"></li>';
            }
            woocommerce_product_loop_end();
Arguments
  1. "content"
    
  2. "product"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template.php
 
    if ( isset( $s ) ) {
        $s = esc_attr( $s );
    }
 
    /**
     * Fires before a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $require_once   Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_before_load_template', $_template_file, $require_once, $args );
 
    if ( $require_once ) {
        require_once $_template_file;
    } else {
        require $_template_file;
    }
 
    /**
     * Fires after a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $require_once   Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_after_load_template', $_template_file, $require_once, $args );
}
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/archive-product-content.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
wc-core-functions.php
                    "{$slug}.php",
                    WC()->template_path() . "{$slug}.php",
                )
            );
        }
 
        // Don't cache the absolute path so that it can be shared between web servers with different paths.
        $cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
 
        wc_set_template_cache( $cache_key, $cache_path );
    } else {
        // Make sure that the absolute path to the template is resolved.
        $template = wc_untokenize_path( $template, wc_get_path_define_tokens() );
    }
 
    // Allow 3rd party plugins to filter template file from their plugin.
    $template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
 
    if ( $template ) {
        load_template( $template, false );
    }
}
 
/**
 * Get other templates (e.g. product attributes) passing attributes and including the file.
 *
 * @param string $template_name Template name.
 * @param array  $args          Arguments. (default: array).
 * @param string $template_path Template path. (default: '').
 * @param string $default_path  Default path. (default: '').
 */
function wc_get_template( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
    $cache_key = sanitize_key( implode( '-', array( 'template', $template_name, $template_path, $default_path, Constants::get_constant( 'WC_VERSION' ) ) ) );
    $template  = (string) wp_cache_get( $cache_key, 'woocommerce' );
 
    if ( ! $template ) {
        $template = wc_locate_template( $template_name, $template_path, $default_path );
 
        // Don't cache the absolute path so that it can be shared between web servers with different paths.
        $cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/archive-product-content.php"
    
  2. false
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
themes
/
porto
/
woocommerce
/
archive-product.php
<?php
/**
 * The Template for displaying product archives, including the main shop page which is a post type archive
 *
 * @version     3.4.0
 */
 
defined( 'ABSPATH' ) || exit;
 
$load_posts_only = porto_is_ajax() && isset( $_GET['load_posts_only'] );
 
if ( ! $load_posts_only ) {
    get_header( 'shop' );
}
 
?>
 
<?php wc_get_template_part( 'archive-product-content' ); ?>
 
<?php
if ( ! $load_posts_only ) {
    get_footer( 'shop' );
}
 
Arguments
  1. "archive-product-content"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
includes
/
wc-core-functions.php
        'template_path' => $template_path,
        'located'       => $template,
        'args'          => $args,
    );
 
    if ( ! empty( $args ) && is_array( $args ) ) {
        if ( isset( $args['action_args'] ) ) {
            wc_doing_it_wrong(
                __FUNCTION__,
                __( 'action_args should not be overwritten when calling wc_get_template.', 'woocommerce' ),
                '3.6.0'
            );
            unset( $args['action_args'] );
        }
        extract( $args ); // @codingStandardsIgnoreLine
    }
 
    do_action( 'woocommerce_before_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] );
 
    include $action_args['located'];
 
    do_action( 'woocommerce_after_template_part', $action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] );
}
 
/**
 * Like wc_get_template, but returns the HTML instead of outputting.
 *
 * @see wc_get_template
 * @since 2.5.0
 * @param string $template_name Template name.
 * @param array  $args          Arguments. (default: array).
 * @param string $template_path Template path. (default: '').
 * @param string $default_path  Default path. (default: '').
 *
 * @return string
 */
function wc_get_template_html( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
    ob_start();
    wc_get_template( $template_name, $args, $template_path, $default_path );
    return ob_get_clean();
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/themes/porto/woocommerce/archive-product.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-content
/
plugins
/
woocommerce
/
templates
/
taxonomy-product-tag.php
 * The Template for displaying products in a product tag. Simply includes the archive template
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/taxonomy-product-tag.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see         https://docs.woocommerce.com/document/template-structure/
 * @package     WooCommerce\Templates
 * @version     4.7.0
 */
 
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly.
}
 
wc_get_template( 'archive-product.php' );
 
Arguments
  1. "archive-product.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-includes
/
template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-content/plugins/woocommerce/templates/taxonomy-product-tag.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-includes/template-loader.php"
    
/
var
/
www
/
vhosts
/
confeuropacademy.org
/
httpdocs
/
index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/var/www/vhosts/confeuropacademy.org/httpdocs/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/product-tag/ufficio/"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PP_CUSTOM_PHP_INI
"/var/www/vhosts/system/confeuropacademy.org/etc/php.ini"
PP_CUSTOM_PHP_CGI_INDEX
"plesk-php73-fastcgi"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/product-tag/ufficio/"
REMOTE_PORT
"39824"
SCRIPT_FILENAME
"/var/www/vhosts/confeuropacademy.org/httpdocs/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/confeuropacademy.org/httpdocs"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/vhosts/confeuropacademy.org/httpdocs"
REMOTE_ADDR
"35.172.230.154"
SERVER_PORT
"443"
SERVER_ADDR
"85.94.218.227"
SERVER_NAME
"confeuropacademy.org"
SERVER_SIGNATURE
"<address>Apache Server at confeuropacademy.org Port 443</address>\n"
HTTP_CONNECTION
"close"
HTTP_HOST
"confeuropacademy.org"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Mon, 04 Jul 2022 00:38:22 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
SSL_TLS_SNI
"confeuropacademy.org"
HTTPS
"on"
HTTP_AUTHORIZATION
""
REGISTER_GLOBALS
"0"
PHP_VER
"5"
SCRIPT_URI
"https://confeuropacademy.org/product-tag/ufficio/"
SCRIPT_URL
"/product-tag/ufficio/"
UNIQUE_ID
"Y@LM6n8AAAEAAHIxmqEAAAAJ"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"confeuropacademy.org"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_REGISTER_GLOBALS
"0"
REDIRECT_PHP_VER
"5"
REDIRECT_SCRIPT_URI
"https://confeuropacademy.org/product-tag/ufficio/"
REDIRECT_SCRIPT_URL
"/product-tag/ufficio/"
REDIRECT_UNIQUE_ID
"Y@LM6n8AAAEAAHIxmqEAAAAJ"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1675807978.8097
REQUEST_TIME
1675807978
empty
0. Whoops\Handler\PrettyPageHandler