Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
add_filter('wpseo_title', 'filter_product_wpseo_title'); function filter_product_wpseo_title($title) { if( $_GET['b'] != '') { $blog_slug = $_GET['b']; global $wpdb; $blog = $wpdb->get_row("SELECT * FROM blog_added_all WHERE blog_slug ='".$blog_slug."'"); $description = $blog->blog_title; $title = $description; } return $title; } ?>
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!