Browse Source

Add Controller fix.

pull/25/head
Ned Zimmerman 7 years ago
parent
commit
07bc7bb56a
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 8
      app/setup.php

8
app/setup.php

@ -166,6 +166,14 @@ add_action('after_setup_theme', function () {
});
});
/**
* TODO: Remove temporary workaround to start soberwp/controller
*
* @see https://github.com/soberwp/controller/issues/48
*/
add_action('init', 'Sober\Controller\loader');
add_action('init', 'Sober\Controller\debugger');
add_action('wp_head', function () {
$primary = get_option('pb_network_color_primary');
$accent = get_option('pb_network_color_accent');

Loading…
Cancel
Save