- PHP 5.3+
- WP CLI
Note: ensure the plugin is enabled first.
In your site's directory:
$ wp funcref generate-and-import /path/to/source/code
By default, your theme will use the built-in content. This content is generated
on the fly by the expand_content function.
To use your own theming instead, simply add the following to
your functions.php:
remove_filter( 'the_content', 'WPFuncRef\\expand_content' );