Error during plugin activation
-
I’ve creating a plugin that helps students apply for university/school.
in index.php page i’ve put fonction of admin menu:`function universities_admin_menu() {
echo ‘<h3><a href=”#”>University plugin</a></h3>
<ul>
<li><a href=”‘.admin_configure_plugin_url(“universities_attributes/index.php”).'”>» ‘.__(‘Configure plugin’, ‘universities_attributes’).'</a></li>
<li><a href=”‘.admin_render_plugin_url(“universities_attributes/conf.php”).’?section=facultys”>» ‘.__(‘Manage facultys’, ‘universities_attributes’).'</a></li>
<li><a href=”‘.admin_render_plugin_url(“universities_attributes/conf.php”).’?section=Departments”>» ‘.__(‘Manage Departments’, ‘universities_attributes’).'</a></li>
<li><a href=”‘.admin_render_plugin_url(“universities_attributes/conf.php”).’?section=types”>» ‘.__(‘Manage terms’, ‘universities_attributes’).'</a></li>
</ul>’;
}`during plugin activation an error is displayed:
Fatal error: Call to undefined function admin_configure_plugin_url()
- The topic ‘Error during plugin activation’ is closed to new replies.