Warning: This method has been deprecated.

WC_Legacy_Webhook::update_status( string $status )

Update the webhook status.


Description Description


Parameters Parameters

$status

(Required) Status to set.


Top ↑

Source Source

File: includes/legacy/class-wc-legacy-webhook.php

	public function update_status( $status ) {
		wc_deprecated_function( 'WC_Webhook::update_status', '3.2', 'WC_Webhook::set_status' );

		$this->set_status( $status );
		$this->save();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 This method has been deprecated.
2.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.