rebase on oct-10-2023
This commit is contained in:
@@ -113,6 +113,7 @@ class WPSEO_Frontend {
|
||||
|
||||
$presentation = $this->get_current_page_presentation();
|
||||
$presenter = new Canonical_Presenter();
|
||||
|
||||
/** This filter is documented in src/integrations/front-end-integration.php */
|
||||
$presenter->presentation = $presentation;
|
||||
$presenter->helpers = $this->helpers;
|
||||
@@ -270,6 +271,7 @@ class WPSEO_Frontend {
|
||||
*/
|
||||
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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user