File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,14 @@ abstract class ACF_Register {
1616 use Singleton;
1717 use Has_ACF_Fields;
1818
19- /**
20- * Post Type for hide content.
21- *
22- * @var $hide_content
23- */
24- public $ hide_content ;
25-
2619 /**
2720 * ACF_Register constructor.
2821 * - run init method to set fields configuration.
2922 * - define acf hook to register fields
3023 */
3124 protected function __construct () {
3225 $ this ->init ();
33- // init WordPress hook for hide content box.
34- add_action ( 'init ' , function () {
35- remove_post_type_support ( $ this ->hide_content , 'editor ' );
36- });
26+
3727 // init ACF hook for register fields.
3828 add_action ( 'acf/init ' , array ( $ this , 'register ' ) );
3929 }
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ public function has( ...$fields ) {
2222 $ args = func_get_args ();
2323
2424 foreach ( $ args as $ group ) {
25-
2625 $ group = $ group ->getRootContext ();
2726
2827 $ this ->set_responsive_width_classes ( $ group ->getFields () );
You can’t perform that action at this time.
0 commit comments