Skip to content

Commit

Permalink
fix main plugin file bug
Browse files Browse the repository at this point in the history
  • Loading branch information
romulodl committed Jun 13, 2018
1 parent 8235901 commit a0ae79d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@
$container = require __DIR__ . '/container.php';

$container['post_type']->init();
$container['custom_fields']->register();

$acf = $container['custom_fields'];
$acf->register_poll_fields();
$acf->register_article_fields(['post', 'longform']);
$acf->load_filters();
} );

0 comments on commit a0ae79d

Please sign in to comment.