我目前在wordpress的插件中使用了一个页面wpPlugin.php,我想在同一个插件中导航到test.php,当我跳转到该页面时显示错误,“你没有足够的权限来访问它页面“
这是test.php的代码:
<?php
/*
Plugin Name: AutoBlogging Settings
Plugin URI: http://test.com
Description: Plugin for displaying info
Author: abc
Version: 1.0
Author URI: http://test.com
*/
function AutoBlogging_Settings() {
echo "test test test";
}
function AutoBlogging_Settings_Actions() {
add_options_page("AutoBlogging Settings", "AutoBlogging Settings", "manage_options", __FILE__, "AutoBlogging_Settings");
}
add_action('admin_menu', 'AutoBlogging_Settings_Actions');
?>
我如何访问此页面。