Yoast\WP\SEO\Presenters
Breadcrumbs_Presenter::get_separator()
Retrieves the separator.
Метод класса: Breadcrumbs_Presenter{}
Хуки из метода
Возвращает
Строку
. The separator.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_separator();
Код Breadcrumbs_Presenter::get_separator() Breadcrumbs Presenter::get separator Yoast 22.4
protected function get_separator() { if ( ! $this->separator ) { $this->separator = \apply_filters( 'wpseo_breadcrumb_separator', $this->helpers->options->get( 'breadcrumbs-sep' ) ); $this->separator = ' ' . $this->separator . ' '; } return $this->separator; }