wpseo_schema_person_social_profiles, $this->social_profiles, $user_id
wpseo_schema_person_social_profiles, $this->social_profiles, $user_id
Appears in: wordpress-seo.28.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.1apply_filters('wpseo_schema_person_social_profiles, $this->social_profiles, $user_id') is found 1 times:
- /src/generators/schema/person.php line 103
* @param string[] $social_profiles The array of social profiles to retrieve. Each should be a user meta field * key. As they are retrieved using the WordPress function `get_the_author_meta`. * @param int $user_id The current user we're grabbing social profiles for. */ $social_profiles = \apply_filters( 'wpseo_schema_person_social_profiles', $this->social_profiles, $user_id ); // We can only handle an array. if ( ! \is_array( $social_profiles ) ) { return $same_as_urls; }