wpseo_frontend_presentation

wpseo_frontend_presentation

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

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

apply_filters('wpseo_frontend_presentation') is found 8 times:

  • /src/deprecated/frontend/breadcrumbs.php line 137
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
        $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

    276
    277
    278
    279
    280
    281
    282
        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
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
        $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
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
        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
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    $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 410
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    *
     * @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
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    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
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
        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 ];
        }