: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Yoast\WP\SEO\Introductions\Domain;
* Domain object that holds introduction information.
class Introduction_Item {
* Constructs the instance.
* @param string $id The ID.
* @param int $priority The priority.
public function __construct( $id, $priority ) {
$this->priority = $priority;
* Returns an array representation of the data.
* @return array Returns in an array format.
public function to_array() {
'priority' => $this->get_priority(),
public function get_id() {
* Returns the requested pagination priority. Higher means earlier.
public function get_priority() {