The hardcoded SEO is probably coming from your theme so you should contact your theme developer and ask them how to remove it.
Best is to not have your theme provide post SEO metadata, as Steve said. But to do what you want…
The custom description, if it exists, is stored in a custom field in the post meta table called “_aioseop_description”.
You can do something like:
if( !get_post_meta( $post->ID, '_aioseop_description', TRUE ){
//code to run if there's no description field
}
You can filter what’s displayed by using the aioseop_description filter:
aioseop_description
That worked like a charm..
I am gonna put my hands on the description filter stuff soon and will need your help again. 🙂
But thanks a lot for this one. I will mark this one as resolved.