joli_toc_toggle_button_icon_opened

Custom toggle button (HTML) for the opened state.

add_filter('joli_toc_toggle_button_icon_opened', function($toggle){ 
    return '<i class="custom">My custom button</i>';
});
Was this page helpful?