Jetengine API

[ad_1]

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.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer