• Resolved qilow

    (@qilow)


    HI,
    Could you tell me how to process the data collected through your plugin fields with the My SQL Charts plugin?

    As an example code it provides me with a code like this:

    select count(*) postcount, SUBSTR(post_date,1,4) yearnum from wp_posts group by yearnum order by yearnum asc limit 10

    I tried to make some attempts but without success.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Support Dina S.

    (@themehighsupport)

    Hi,

    There seems to be some lack of clarity in your query.

    The fields created using our plugin are saved in the wp_postmeta table. You can retrieve the value of the custom field from the database by using the below function.

    For order metadata, you can use the below function:

    $order_meta = get_post_meta( $order_id, $field_name, true );

    If we have misunderstood your query, please raise a ticket through our website. We hope our technical team will be able to help you.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Processing of collected data’ is closed to new replies.