Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadNateqi committed Jul 9, 2024
1 parent 21a8662 commit 925a127
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/class-wcpdf-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ public function output_number_date_edit_fields( object $document, array $data =
}
}

// Independent documents can exist on their own without requiring another document type to be created first.
$independent_documents = apply_filters( 'wpo_wcpdf_document_data_meta_box_independent_documents', array( 'invoice', 'packing-slip' ) );
$data = apply_filters( 'wpo_wcpdf_document_data_meta_box_document_data_fields', $data, $document );
$data = $this->get_current_values_for_document( $document, $data );
Expand Down

0 comments on commit 925a127

Please sign in to comment.