---
title: Filter Open Graph type
url: "https://www.seopress.org/support/hooks/filter-open-graph-type/"
lang: en-US
updated: 2022-03-14
hook_name: seopress_social_og_type
required_version: 2.7.2
---

# Filter Open Graph type

- **Hook name:** `seopress_social_og_type`
- **Required version:** 2.7.2

```php
add_filter('seopress_social_og_type', 'sp_social_og_type');
function sp_social_og_type($html) {
    //default: <meta property="og:type" content="website" />
    //do your stuff
    return $html;
}
```

Source: [https://gist.github.com/wp-seopress/f71479559471d151d42c8b82f9872329](https://gist.github.com/wp-seopress/f71479559471d151d42c8b82f9872329)



