• Resolved nareshgoyani

    (@nareshgoyani)


    Hello,

    I have used aioseop_title hook for create dynamic title and getting ob_end_flush(): Cannot use output buffering fetal error.

    I have already used same code on other website and it’s work fine. but bellow link it’s not working.

    https://www.textileandhandicraft.com/shop/aaradhya/


    add_action( 'aioseop_title', 'change_seo_meta_title' );
    function change_seo_meta_title( $seo_title ){
    if(is_product('aaradhya')){
    //echo "bh";die;
    $seo_title_exists = get_seo_details($post->slug,'title');
    if($seo_title_exists!=false){
    $seo_title = $seo_title_exists;
    }
    }

    return $seo_title;
    }

    Please suggest how to resolved this issue.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘aioseop_title hook getting ob_end_flush(): Cannot use output buffering’ is closed to new replies.