webhook_title = __( 'Scan results', 'broken-link-checker' ); } /** * Executes the webhook action(s). * * @param $wp * * @return void */ public function webhook_action( &$wp ) { $this->settings = Settings::instance()->get(); $scan_data = $_POST['scan_data'] ?? null; if ( ! empty( $scan_data ) ) { // Get scan values } die(0); } }