diff --git a/src/plugin/class-transformer.php b/src/plugin/class-transformer.php index 22a8ac80..81f9ae82 100644 --- a/src/plugin/class-transformer.php +++ b/src/plugin/class-transformer.php @@ -7,7 +7,7 @@ class Transformer { public const string META_KEY_LIBERATED_OUTPUT = '_data_liberation_output'; public function __construct() { - TransformersRegistry::add( + Ops::handle( SubjectType::BLOGPOST, array( 'slug' => 'try_wordpress', @@ -19,7 +19,7 @@ public function __construct() { ) ); - TransformersRegistry::add( + Ops::handle( SubjectType::PAGE, array( 'slug' => 'try_wordpress',