Skip to content
Snippets Groups Projects
Commit 11235e38 authored by Erick Hitter's avatar Erick Hitter
Browse files

Remove unnecessary methods

parent 7204cf91
No related branches found
No related tags found
1 merge request!2Add `core/embed` variation in Block Editor
Pipeline #5150 passed
...@@ -41,22 +41,6 @@ class Plugin { ...@@ -41,22 +41,6 @@ class Plugin {
*/ */
private const SHORTCODE_TAG = 'eth_anchor_fm'; 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. * Register hooks.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment