• mam następujacy kawełek kodu we wtyczce,
    w jaki sposób ALE we functions.php
    dopisać do tego kawałek innego kodu ?

    private function html_event_details(&$a) {
    $event = $this->db->get_event($a[’event_id’]);
    $out = $this->html_filterbar($a);
    $out .= ’
    <h2>’.__(’Event Information:’,’event-list’).'</h2>
    <ul class=”single-event-view”>’;
    $single_day_only = ($event->start_date == $event->end_date) ? true : false;
    $out .= $this->html_event($event, $a, $single_day_only);
    $out .= ”;
    return $out;

    próbowałem

    function dodaj_rezerwacje() {
    echo 'tutaj link’
    }
    add_filter( 'html_event_details’, 'dodaj_rezerwacje’);

Temat ‘hak w functions.php do wtyczki’ jest zamknięty na nowe odpowiedzi.