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
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment