documents->get_documents('all');
foreach ($documents as $document) {
$document->init_settings();
}
}
public function output( $section ) {
$section = !empty($section) ? $section : 'invoice';
if ( !empty( $section ) ) {
$documents = WPO_WCPDF()->documents->get_documents('all');
?>
:
get_title());
if (empty(trim($title))) {
$title = '['.__( 'untitled', 'woocommerce-pdf-invoices-packing-slips' ).']';
}
printf('- %s
', add_query_arg( 'section', $document->get_type() ), $document->get_type() == $section ? 'active' : '', $title );
}
?>
documents->get_documents('all');
?>
get_title());
if (empty(trim($title))) {
$title = __( 'untitled', 'woocommerce-pdf-invoices-packing-slips' );
}
?>
">
|
|