You appear to be a bot. Output may be restricted
Description
Transforms an indexable presenter's key to a json safe key string.
Usage
$string|null = Abstract_Indexable_Presenter::escape_key();
Parameters
Returns
string|null
Source
File name: wordpress-seo/src/presenters/abstract-indexable-presenter.php
Lines:
1 to 6 of 6
public function escape_key() { if ( $this->key === 'NO KEY PROVIDED' ) { return null; } return \str_replace( [ ':', ' ', '-' ], '_', $this->key ); }