This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
set $root_path /var/www; | |
root $root_path; | |
server_name domain.com; | |
error_log /var/log/nginx/domain.com-errors.log; | |
access_log /var/log/nginx/domain.com-access.log; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Trim admin interface | |
add_action('init', 'moon_unregister_tags'); | |
add_action('login_head', 'custom_login'); | |
add_action('admin_head', 'trim_admin_interface'); | |
add_action('admin_head', 'remove_adm_tab_help'); | |
add_action('admin_menu', 'remove_menus', 10); | |
add_filter('admin_bar_menu', 'clear_admin_bar_menu', 5); | |
function trim_admin_interface(){ |