Provide a function to return admin plugin for the page request.
This was previously carried out in three separate places. Refactor that code to use the new function. Update tpl_pageTitle test to use a manager level admin plugin.
Showing
- _test/tests/inc/template_include_page.test.php 4 additions, 4 deletions_test/tests/inc/template_include_page.test.php
- inc/actions.php 3 additions, 14 deletionsinc/actions.php
- inc/pluginutils.php 31 additions, 0 deletionsinc/pluginutils.php
- inc/template.php 7 additions, 23 deletionsinc/template.php
Loading
Please register or sign in to comment