plugin updates
This commit is contained in:
@@ -221,6 +221,9 @@ class WooSubscriptionsNotes {
|
||||
* @return int|false
|
||||
*/
|
||||
public function get_product_id_from_subscription_note( &$note ) {
|
||||
if ( ! is_object( $note ) ) {
|
||||
return false;
|
||||
}
|
||||
$content_data = $note->get_content_data();
|
||||
|
||||
if ( property_exists( $content_data, 'product_id' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user