wpseo_frontend_presentation

wpseo_frontend_presentation

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.23.8

apply_filters('wpseo_frontend_presentation') is found 8 times:

  • /src/deprecated/frontend/breadcrumbs.php line 137
    		$presenter = new Breadcrumbs_Presenter();
    		$context   = $this->context_memoizer->for_current_page();
    
    		/** This filter is documented in src/integrations/front-end-integration.php */
    		$presentation            = apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
    		$presenter->presentation = $presentation;
    		$presenter->replace_vars = $this->replace_vars;
    		$presenter->helpers      = $this->helpers;
    
    		return $presenter->present();
    	}
    
  • /src/deprecated/frontend/frontend.php line 280

    Warning: Undefined array key 282 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 283 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 284 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 285 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	private function get_current_page_presentation() {
    		$context = $this->context_memoizer->for_current_page();
    
    		/** This filter is documented in src/integrations/front-end-integration.php */
    		return apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
    	}
    }
    
    
    
    
    
  • /src/integrations/blocks/breadcrumbs-block.php line 115
    			$context = $this->context_memoizer->for_current_page();
    		}
    
    		/** This filter is documented in src/integrations/front-end-integration.php */
    		$presentation            = \apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
    		$presenter->presentation = $presentation;
    		$presenter->replace_vars = $this->replace_vars;
    		$presenter->helpers      = $this->helpers;
    		$class_name              = 'yoast-breadcrumbs';
    
    		if ( ! empty( $attributes['className'] ) ) {
    
  • /src/integrations/breadcrumbs-integration.php line 76
    	public function render() {
    		$context = $this->context_memoizer->for_current_page();
    
    		/** This filter is documented in src/integrations/front-end-integration.php */
    		$presentation = \apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
    
    		$this->presenter->presentation = $presentation;
    
    		return $this->presenter->present();
    	}
    }
    
  • /src/integrations/front-end-integration.php line 262
     
    		$title_presenter = new Title_Presenter();
    
    		/** This filter is documented in src/integrations/front-end-integration.php */
    		$title_presenter->presentation = \apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
    		$title_presenter->replace_vars = $this->replace_vars;
    		$title_presenter->helpers      = $this->helpers;
    
    		\remove_filter( 'pre_get_document_title', [ $this, 'filter_title' ], 15 );
    		$title = \esc_html( $title_presenter->get() );
    		\add_filter( 'pre_get_document_title', [ $this, 'filter_title' ], 15 );
    
  • /src/integrations/front-end-integration.php line 387
    		 *
    		 * @param Indexable_Presention $presentation The indexable presentation.
    		 * @param Meta_Tags_Context    $context      The meta tags context for the current page.
    		 */
    		$presentation = \apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
    
    		echo \PHP_EOL;
    		foreach ( $presenters as $presenter ) {
    			$presenter->presentation = $presentation;
    			$presenter->helpers      = $this->helpers;
    			$presenter->replace_vars = $this->replace_vars;
    
  • /src/surfaces/values/meta.php line 133
    	public function get_head() {
    		$presenters = $this->get_presenters();
    
    		/** This filter is documented in src/integrations/front-end-integration.php */
    		$presentation = \apply_filters( 'wpseo_frontend_presentation', $this->context->presentation, $this->context );
    
    		$html_output      = '';
    		$json_head_fields = [];
    
    		foreach ( $presenters as $presenter ) {
    			$presenter->presentation = $presentation;
    
  • /src/surfaces/values/meta.php line 172
    			return $this->properties_bin[ $name ];
    		}
    
    		/** This filter is documented in src/integrations/front-end-integration.php */
    		$presentation = \apply_filters( 'wpseo_frontend_presentation', $this->context->presentation, $this->context );
    
    		if ( ! isset( $presentation->{$name} ) ) {
    			if ( isset( $this->context->{$name} ) ) {
    				$this->properties_bin[ $name ] = $this->context->{$name};
    				return $this->properties_bin[ $name ];
    			}