• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Abstract_Indexable_Presenter::replace_vars() – Replace replacement variables in a string.

You appear to be a bot. Output may be restricted

Description

Replace replacement variables in a string.

Usage

$string = Abstract_Indexable_Presenter::replace_vars( $replacevar_string );

Parameters

$replacevar_string
( string ) required – The string with replacement variables.

Returns

string The string with replacement variables replaced.

Source

File name: wordpress-seo/src/presenters/abstract-indexable-presenter.php


Lines:

1 to 4 of 4
  protected function replace_vars( $replacevar_string ) {
    return $this->replace_vars->replace( $replacevar_string, $this->presentation->source );
  }
 

 View on GitHub View on Trac

Published: 2nd May 2020 | Last updated: 7th April 2022

Primary Sidebar

Information

Function name: Abstract_Indexable_Presenter::replace_vars
Class ref: Abstract_Indexable_Presenter
Plugin ref: Yoast SEO
Version: 19.9
Sourcefile: src/presenters/abstract-indexable-presenter.php
File ref: src/presenters/abstract-indexable-presenter.php
Deprecated?: No
API Letters: A,I,P,R,V

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 6.1.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites