get_post_meta( $pageId, 'agr_product_id', true )
get_post_meta($pageId) array(7) { ["inline_featured_image"]=> array(1) { [0]=> string(1) "0" } ["_edit_lock"]=> array(1) { [0]=> string(12) "1659416924:1" } ["_edit_last"]=> array(1) { [0]=> string(1) "1" } ["cmplz_hide_cookiebanner"]=> array(1) { [0]=> string(0) "" } ["_the_champ_meta"]=> array(1) { [0]=> string(121) "a:5:{s:7:"sharing";i:0;s:16:"vertical_sharing";i:0;s:7:"counter";i:0;s:16:"vertical_counter";i:0;s:11:"fb_comments";i:0;}" } ["_wp_page_template"]=> array(1) { [0]=> string(7) "default" } ["_cmplz_scanned_post"]=> array(1) { [0]=> string(1) "1" } }
object(WP_Post)#23185 (24) { ["ID"]=> int(829074) ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2022-04-07 11:22:54" ["post_date_gmt"]=> string(19) "2022-04-07 09:22:54" ["post_content"]=> string(0) "" ["post_title"]=> string(5) "Promo" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "publish" ["comment_status"]=> string(6) "closed" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(5) "promo" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2022-08-02 07:08:44" ["post_modified_gmt"]=> string(19) "2022-08-02 05:08:44" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(35) "https://xevos.store/?page_id=829074" ["menu_order"]=> int(0) ["post_type"]=> string(4) "page" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" }