Yoast\WP\SEO\Integrations\Front_End
Indexing_Controls::nofollow_link() public Yoast 1.0
Adds rel="nofollow" to a link, only used for login / registration links.
{} Это метод класса: Indexing_Controls{}
Хуков нет.
Возвращает
Строку.
Использование
$Indexing_Controls = new Indexing_Controls(); $Indexing_Controls->nofollow_link( $input );
- $input(строка) (обязательный)
- The link element as a string.
Код Indexing_Controls::nofollow_link() Indexing Controls::nofollow link Yoast 15.6.2
public function nofollow_link( $input ) {
return \str_replace( '<a ', '<a rel="nofollow" ', $input );
}