Hi friends, could y'all help me with something?
I want to tie the following things
Site A – woocommerce product
to
Site B – Blog post
So i can retrieve all the information regarding the id. Both of them share the same details (is a plants ecommerce).
So far i managed to set de api using jetengine endpoints, but when i try to set a relation between the product to blog post (api) the children doesn't show the blog posts..
I tried this code from chatgpt (don't know how to code)
ads_filter('jetengine/relations/children' function($children, $parent_post_type) {
$children[] = 'plant';
return $children;
}, 10, 2);
But no success. Tried using the 'available-child-types' no success as well
Anyone can help? Would appreciate a lot.