Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Plugin Name: Nils Uploader
- Plugin URL: localhost/wordpress
- Description: Een simpele uploader
- Version: 0.1
- Author: Nils
- Author URL: amo1033727.wordpress.com
- License: GPL2
- License URL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
- Text Domain: Nils Uploader
- Domain Path: /
- {Nils Uploader} is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 2 of the License, or
- any later version.
- {Nils Uploader} is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with {excelPlugin}. If not, see {https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html}.
- */
- function register_custom_menu_page() {
- add_menu_page('Nils Uploader', 'Nils Uploader ', 'add_users', 'custompage', '_custom_menu_page', null, 6);
- }
- add_action('admin_menu', 'register_custom_menu_page');
- function _custom_menu_page(){
- include_once 'index.php';
- }
- // //
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement