• Hello, I see that I can get access to the raw data of each module:

    get_post_meta($post_id, '_cegg_data_'. $module_id, true);

    Is it the same if I use woocommerce, maybe it should be something like

    
    get_post_meta($product->get_id(), '_cegg_data_'. $module_id, true);

    i cant’ get it right ??

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author keywordrush

    (@keywordrush)

    recommended way:

    $data = ContentEgg\application\components\ContentManager::getViewData($module_id, $post_id)

    woocommerce product is also post

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