Skip to content

Commit

Permalink
Merge branches 'dev' and 'dev' of https://github.com/microweber/micro…
Browse files Browse the repository at this point in the history
…weber into dev
  • Loading branch information
bobimicroweber committed Sep 13, 2021
2 parents 04977a2 + b142867 commit 5383c2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/MicroweberPackages/CustomField/FieldsManager.php
Expand Up @@ -9,10 +9,7 @@
use MicroweberPackages\CustomField\Models\CustomFieldValue;
use MicroweberPackages\View\View;

api_expose_admin('fields/reorder');
api_expose_admin('fields/delete');
api_expose_admin('fields/make');
api_expose_admin('fields/save');

$_mw_made_default_fields_register = array();

class FieldsManager
Expand Down
5 changes: 5 additions & 0 deletions src/MicroweberPackages/CustomField/helpers/custom_fields.php
@@ -1,5 +1,10 @@
<?php

api_expose_admin('fields/reorder');
api_expose_admin('fields/delete');
api_expose_admin('fields/make');
api_expose_admin('fields/save');

function get_custom_field_by_id($id)
{
return mw()->fields_manager->getById($id);
Expand Down

0 comments on commit 5383c2a

Please sign in to comment.