WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

WPSEO_Admin::update_contactmethods() public Yoast 1.0

Filter the $contactmethods array and add a set of social profiles.

These are used with the Facebook author, rel="author" and Twitter cards implementation.

Это метод класса: WPSEO_Admin{}

Хуков нет.

Возвращает

Массив. $contactmethods with added contactmethods.

Использование

$WPSEO_Admin = new WPSEO_Admin();
$WPSEO_Admin->update_contactmethods( $contactmethods );
$contactmethods(массив) (обязательный)
Currently set contactmethods.

Код WPSEO_Admin::update_contactmethods() Yoast 15.1.1

<?php
public function update_contactmethods( $contactmethods ) {
	$contactmethods['facebook']   = __( 'Facebook profile URL', 'wordpress-seo' );
	$contactmethods['instagram']  = __( 'Instagram profile URL', 'wordpress-seo' );
	$contactmethods['linkedin']   = __( 'LinkedIn profile URL', 'wordpress-seo' );
	$contactmethods['myspace']    = __( 'MySpace profile URL', 'wordpress-seo' );
	$contactmethods['pinterest']  = __( 'Pinterest profile URL', 'wordpress-seo' );
	$contactmethods['soundcloud'] = __( 'SoundCloud profile URL', 'wordpress-seo' );
	$contactmethods['tumblr']     = __( 'Tumblr profile URL', 'wordpress-seo' );
	$contactmethods['twitter']    = __( 'Twitter username (without @)', 'wordpress-seo' );
	$contactmethods['youtube']    = __( 'YouTube profile URL', 'wordpress-seo' );
	$contactmethods['wikipedia']  = __( 'Wikipedia page about you', 'wordpress-seo' ) . '<br/><small>' . __( '(if one exists)', 'wordpress-seo' ) . '</small>';

	return $contactmethods;
}