Page Link Manager API
Get connected! Since lauching the Page Link Manager Plugin earlier this week, a lot of people have asked if it will work with such-and-such a plugin. And although I’d love to go through and try to get it to work with as many other plugins as I can, that’s just not possible. So, I’ve decided to write and release some functions to the development community. That way, if you want to get your plugin to work off some of the functionality of the Page Link Manager, it should be pretty painless.
The Functions
Since this is a new feature with this release (v0.2), there are only a few, but powerful, developer functions available.
bool gdm_is_excluded_page($id)
$id (Required). The page ID in question.
Returns TRUE if Page Link Manager has the page registered as excluded.
array gdm_get_excluded_pages()
Returns an array of all the pages Page Link Manager has registered as excluded.
string gdm_page_links_rebuild_query($query)
$query (Optional). A wp_list_pages style query string.
Rebuilds and returns a query string with dynamically generated exclude values.
If there’s anything you’d like to see added in the next version, please let me know.
Download Now
All source code is provided under the Creative Commons Attribution-Sharealike License. If you agree to these terms, please download the plugin and developer functions now.
Leave a Comment