Advertisement
aitormendez

print_r($product);

Sep 4th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.13 KB | None | 0 0
  1. WC_Product_Simple Object ( [id] => 49 [post] => WP_Post Object ( [ID] => 49 [post_author] => 1 [post_date] => 2016-07-31 07:58:37 [post_date_gmt] => 2016-07-31 07:58:37 [post_content] => Esta es la descripción [post_title] => Producto B con un nombre mucho más largo [post_excerpt] => Esta es la decripción corta del producto B [post_status] => publish [comment_status] => open [ping_status] => closed [post_password] => [post_name] => producto-b [to_ping] => [pinged] => [post_modified] => 2016-09-04 08:02:24 [post_modified_gmt] => 2016-09-04 08:02:24 [post_content_filtered] => [post_parent] => 0 [guid] => //localhost:3000/?post_type=product&p=49 [menu_order] => 0 [post_type] => product [post_mime_type] => [comment_count] => 1 [filter] => raw ) [product_type] => simple [shipping_class:protected] => [shipping_class_id:protected] => 0 [total_stock] => [supports:protected] => Array ( [0] => ajax_add_to_cart ) [downloadable] => no [sale_price] => [regular_price] => 1500 [price] => 1500 [product_image_gallery] => 23,22 [tax_status] => taxable [tax_class] => [stock_status] => outofstock [manage_stock] => yes [backorders] => yes [sku] => sku-3 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement