Skip to content

Commit

Permalink
Better name for a hook
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadNateqi committed Apr 12, 2024
1 parent f9cbcca commit 8f7c72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wcpdf-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ public function output_number_date_edit_fields( object $document, $data = array(
}

// Allow preventing document output.
if ( apply_filters( 'wpo_wcpdf_document_data_meta_box_allow_document_output', false, $data, $in_process, $document ) ) {
if ( apply_filters( 'wpo_wcpdf_document_data_meta_box_prevent_document_output', false, $data, $in_process, $document ) ) {
return;
}

Expand Down

0 comments on commit 8f7c72c

Please sign in to comment.