Skip to content

Instantly share code, notes, and snippets.

@jarednova
Created January 12, 2015 19:46
Show Gist options
  • Save jarednova/eda780b2993a5fdaad47 to your computer and use it in GitHub Desktop.
Save jarednova/eda780b2993a5fdaad47 to your computer and use it in GitHub Desktop.
Require timber in mu-plugins
<?php
require_once('../plugins/timber-library/timber.php');
@justiny
Copy link

justiny commented Dec 6, 2018

Does this no longer work? I get this:

Warning: require_once(../plugins/timber-library/timber.php): failed to open stream: No such file or directory in /var/www/public/wp-content/mu-plugins/require-timber.php on line 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment