• Resolved cthibaultfr

    (@cthibaultfr)


    Hello,
    I was using the class metabox in the wy to retrieve the fields website and manual_lat – manual_lng using the method get_listing_info

    The method in class metabox is no more supported with the new version.

    What is, now, the best way for getting the value of these fields ?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syed Galib Ahmed

    (@syedgalibahmed)

    Hello,

    Thank you for reaching us.

    We’re sorry to say that, the ATBDP()->metabox->get_listing_info has been deprecated in version 7.0 ( or later ).

    Please use the following code instade.

    
    $manual_lat = get_post_meta( get_the_id(), '_manual_lat', true );
    $manual_lng = get_post_meta( get_the_id(), '_manual_lng', true );
    

    Regards.

    Thread Starter cthibaultfr

    (@cthibaultfr)

    Thank you very much,

    It works perfectly.

    Have a great day,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ATBDP()->metabox->get_listing_info no more ok’ is closed to new replies.