: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
public static function getPlugins () {
* Handle links displayed below the plugin name in the WordPress Installed Plugins page.
public static function handleActionLinks($links, $file)
$settingsLink = '<a href="' . admin_url('admin.php?page=embedpress') . '" aria-label="' . __('Open settings page',
'embedpress') . '">' . __('Settings', 'embedpress') . '</a>';
array_unshift($links, $settingsLink);
if ( !is_embedpress_pro_active() ) {
$links[] = '<a href="https://wpdeveloper.com/in/upgrade-embedpress" target="_blank" class="embedpress-go-pro-action" style="color: green">'.__('Go Pro', 'embedpress').'</a>';
* Method that ensures the API's url are whitelisted to WordPress external requests.
* @param boolean $isAllowed
public static function allowApiHost ($isAllowed, $host, $url) {
if ($host === EMBEDPRESS_LICENSES_API_HOST) {
public function extended_mime_types( $mimes ) {
$mimes['ppsx'] = 'application/vnd.openxmlformats-officedocument.presentationml.presentation';