Hi Eric, thank you for contacting us, our plugin maintains its database table rather than using wp_posts due to certain limitations but we have registered our stores to the post_type as asl_stores so that should be accessible.
Can you please tell us what are you are trying to achieve so we can help with it? you can also create a support ticket by emailing us at [email protected]
Thank you
thank you for your reply
my idea is to make requests through the rest api so I need to call posts or custom posts
If you want to hook the rest API all you need is to utilize the asl_filter_stores_result filter, make a call to your API and pass on that data as results.
https://agilestorelocator.com/wiki/store-locator-wordpress-hooks-filters/#:~:text=Store%20Results%20Filter%20to%20Manipulate%20or%20Change%20the%20Store%20Data
Thanks
In fact it would be the other way around, I would like to retrieve the data on a site that runs with Agile Store locator, with a request type https://website/wp-json/wp/v2/asl_stores and process and use them on another site
While doing tests, I noticed that it works if I uncomment line 73 of store-type.php (register_post_type), but this is only a test solution. Can I do otherwise with a hook for example?
Yes, can you please create a support ticket by emailing us at [email protected] we can provide an action or filter hook in this regard.
Thank you