Skip to content
Permalink
Browse files
Merge branches 'dev' and 'dev' of https://github.com/microweber/micro…
…weber into dev
  • Loading branch information
bobimicroweber committed Sep 13, 2021
2 parents 04977a2 + b142867 commit 5383c2a07bb84a6f3043b6e70c9bd245baa2b880
Showing with 6 additions and 4 deletions.
  1. +1 −4 src/MicroweberPackages/CustomField/FieldsManager.php
  2. +5 −0 src/MicroweberPackages/CustomField/helpers/custom_fields.php
@@ -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
@@ -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);

0 comments on commit 5383c2a

Please sign in to comment.