: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace EmbedPress\Ends;
(defined('ABSPATH') && defined('EMBEDPRESS_IS_LOADED')) or die("No direct script access allowed.");
* Modeling class to handle the plugin in different environments. I.e: public area/admin area.
* @subpackage EmbedPress/Ends
* @author EmbedPress <help@embedpress.com>
* @copyright Copyright (C) 2023 WPDeveloper. All rights reserved.
* @license GPLv3 or later
* The name of the plugin.
* @var string $pluginName The name of the plugin.
* The version of the plugin.
* @var string $pluginVersion The version of the plugin.
protected $pluginVersion;
* Initialize the class and set its properties.
* @param string $pluginName - The name of the plugin.
* @param string $pluginVersion - The version of the plugin.
public function __construct($pluginName, $pluginVersion)
$this->pluginName = $pluginName;
$this->pluginVersion = $pluginVersion;
* Method that register all scripts for the admin area.
public function enqueueScripts()
* Method that register all stylesheets for the admin area.
public static function enqueueStyles()