weaveworks / wordepress

Tool support enabling hosting of technical documentation in WordPress
Apache License 2.0
7 stars 4 forks source link

Automatically register `wp_get_post_parent_id` with View -> Settings -> Compatability #18

Open awh opened 8 years ago

awh commented 8 years ago

If we can't find a way of implementing the collapsing nav that doesn't rely on this function being exposed to view conditionals, our plugin should register it automatically. The woocommerce-views plugin does this for its own functions, see there for implementation hints.