- This topic has 9 replies, 2 voices, and was last updated 1 day, 7 hours ago by .
I have created a custom table, the values are stored properly and correctly in the DB. But I cannot retrieve the values either using PHP code or Shortcode.
To clarify, values are saved in the DB as expected. But I cannot use 'rwmb_meta' to get the data.
The tables are created automatically via web UI (with no prefix).
I tried both but nothing works:
$value = rwmb_meta( 'primary_mobile', ['storage_type' => 'custom_table', 'table' => 'ab_subscriber_info'], 2 ); echo $value;
[rwmb_meta id="primary_mobile" object_id="2" storage_type="custom_table" table="ab_subscriber_info"]
Appreciate any help.
- You must be logged in to reply to this topic.