| @@ -1,48 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | -function acym_addBreadcrumb($title, $link = '') | |
| 4 | -{ | |
| 5 | -} | |
| 6 | - | |
| 7 | -function acym_setPageTitle($title) | |
| 8 | -{ | |
| 9 | -} | |
| 10 | - | |
| 11 | -function acym_isLeftMenuNecessary() | |
| 12 | -{ | |
| 13 | - return false; | |
| 14 | -} | |
| 15 | - | |
| 16 | -function acym_getLeftMenu($name) | |
| 17 | -{ | |
| 18 | - return ''; | |
| 19 | -} | |
| 20 | - | |
| 21 | -function acym_isPluginActive($plugin, $family = 'system') | |
| 22 | -{ | |
| 23 | - return true; | |
| 24 | -} | |
| 25 | - | |
| 26 | -function acym_menuOnly($link) | |
| 27 | -{ | |
| 28 | -} | |
| 29 | - | |
| 30 | -function acym_disableCmsEditor() | |
| 31 | -{ | |
| 32 | - add_filter( | |
| 33 | - 'user_can_richedit', | |
| 34 | - function ($a) { | |
| 35 | - return false; | |
| 36 | - }, | |
| 37 | - 50 | |
| 38 | - ); | |
| 39 | -} | |
| 40 | - | |
| 41 | -function acym_isElementorEdition() | |
| 42 | -{ | |
| 43 | - global $post; | |
| 44 | - | |
| 45 | - if (empty($post) || !class_exists('\\Elementor\\Plugin')) return false; | |
| 46 | - | |
| 47 | - return \Elementor\Plugin::$instance->db->is_built_with_elementor($post->ID); | |
| 48 | -} | |