Product::get_listing_id()

Summary

Get the Listing ID associated with this post


Return

(int) The BigCommerce Listing ID


Source

File: src/BigCommerce/Post_Types/Product/Product.php

		if ( ! empty( $listing ) && isset( $listing->listing_id ) ) {
			return (int) $listing->listing_id;
		}

		return 0;
	}

	/**


User Contributed Notes

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