'; } public function description() { return __( 'Run a Make scenario with every entry (Custom webhook trigger).', 'fieldwren' ); } public function help() { return '
  1. ' . esc_html__( 'In Make, add the module "Webhooks" → "Custom webhook" and create a hook.', 'fieldwren' ) . '
  2. ' . esc_html__( 'Copy its address into a Make feed on the form, click "Redetermine data structure" in Make and submit a test entry.', 'fieldwren' ) . '
'; } protected function url_placeholder() { return 'https://hook.eu1.make.com/…'; } protected function preset_keys() { return array( 'url', 'body', 'fields', 'meta' ); } protected function forced() { return array( 'method' => 'POST', 'format' => 'json' ); } }