Skip to content

Commit

Permalink
have our transformers also use Ops class
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfame committed Dec 27, 2024
1 parent 10b0ccb commit f139c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin/class-transformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -19,7 +19,7 @@ public function __construct() {
)
);

TransformersRegistry::add(
Ops::handle(
SubjectType::PAGE,
array(
'slug' => 'try_wordpress',
Expand Down

0 comments on commit f139c71

Please sign in to comment.