Merge pull request #31292 from robertmassaioli/patch-1

The woocommerce_webhook_options needs webhook
This commit is contained in:
Barry Hughes 2022-03-31 14:10:14 -07:00 committed by GitHub
commit e32e410f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -152,7 +152,14 @@ if ( ! defined( 'ABSPATH' ) ) {
</tbody>
</table>
<?php do_action( 'woocommerce_webhook_options' ); ?>
<?php
/**
* Fires within the webhook editor, after the Webhook Data fields have rendered.
*
* @param WC_Webhook $webhook
*/
do_action( 'woocommerce_webhook_options', $webhook );
?>
</div>
<div id="webhook-actions" class="settings-panel">