From 11235e38244795975297b01eeb7138a333dc9c3d Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sun, 17 Jul 2022 18:37:25 -0700
Subject: [PATCH] Remove unnecessary methods

---
 inc/class-plugin.php | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/inc/class-plugin.php b/inc/class-plugin.php
index 99d07e8..465a4f7 100644
--- a/inc/class-plugin.php
+++ b/inc/class-plugin.php
@@ -41,22 +41,6 @@ class Plugin {
 	 */
 	private const SHORTCODE_TAG = 'eth_anchor_fm';
 
-	public function __get( $name ): ?string {
-		if ( 'url_regex' === $name ) {
-			return self::OEMBED_FORMAT;
-		}
-
-		return null;
-	}
-
-	public function __set( string $name, string $value ): bool {
-		return false;
-	}
-
-	public function __isset( $name ): bool {
-		return 'url_regex' === $name;
-	}
-
 	/**
 	 * Register hooks.
 	 *
-- 
GitLab