Skip to content

Commit

Permalink
Properly sync code from pro
Browse files Browse the repository at this point in the history
  • Loading branch information
iamprazol committed Dec 26, 2024
1 parent de94666 commit d3eefd7
Show file tree
Hide file tree
Showing 7 changed files with 8,738 additions and 9,646 deletions.
Binary file added assets/images/templates/placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions includes/RestApi/class-ur-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public static function init() {
include __DIR__ . '/controllers/version1/class-ur-changelog.php';
include __DIR__ . '/controllers/version1/class-ur-gutenberg-blocks.php';
include __DIR__ . '/controllers/version1/class-ur-form-templates.php';
include __DIR__ . '/controllers/version1/class-ur-plugin-status.php';

add_action( 'rest_api_init', array( __CLASS__, 'register_rest_routes' ) );
}
Expand Down Expand Up @@ -94,6 +95,7 @@ protected static function get_v1_rest_classes() {
'changelog' => 'UR_Changelog',
'gutenberg-blocks' => 'UR_Gutenberg_Blocks',
'form-templates' => 'UR_Form_Templates',
'plugin' => 'UR_Plugin_Status',
);
}
}
Expand Down
Loading

0 comments on commit d3eefd7

Please sign in to comment.