// Manage Admin Menu / Kiri Vadivelu / 2026 function hide_admin_menu() { remove_menu_page( ‘edit.php’ ); // Posts remove_menu_page( ‘upload.php’ ); // Media remove_menu_page( ‘edit-comments.php’ ); // Comments remove_menu_page( ‘themes.php’ ); // Appearance remove_menu_page( ‘plugins.php’ ); // Plugins remove_menu_page( ‘users.php’ );…Continue reading
¿Tienes Madera de AV?Continue reading
// Dynamic Current Year / Kiri Vadivelu / 2026 function current_year() { $year = date(‘Y’); return $year; } add_shortcode(‘current_year’, ‘current_year’);Continue reading
html body div#om-{{id}}.Campaign.CampaignType–slide { right: 40px !important; bottom: 100px !important; }Continue reading
// Disable Password Reset / Kiri Vadivelu / 2026 function disable_password_reset() { return false; } add_filter(‘allow_password_reset’, ‘disable_password_reset’); // Remove “Lost Your Password?” Link function remove_lostpassword_text($text) { if ($text == ‘Lost your password?’) { $text = ”; } return $text; }…Continue reading
// Show User ID / Kiri Vadivelu / 2026 // 1. Add the ID column after the Username column function add_user_id_column($columns) { $new_columns = array(); foreach ($columns as $key => $value) { $new_columns[$key] = $value; // Insert ‘user_id’ column right…Continue reading
// List Media Metadata / Kiri Vadivelu / 2026 // 1. Add Columns to Media Library function add_media_library_columns( $columns ) { $columns[‘media_format’] = ‘Format’; $columns[‘dimensions’] = ‘Dimensions’; $columns[‘file_size’] = ‘File Size’; return $columns; } add_filter( ‘manage_media_columns’, ‘add_media_library_columns’ ); // 2.…Continue reading
// Reorder Post Column / Kiri Vadivelu / 2026 add_filter(‘manage_posts_columns’, ‘reorder_admin_columns’); function reorder_admin_columns($columns) { $n_columns = array(); $move = ‘author’; // Column to move $before = ‘title’; // Move before this column foreach($columns as $key => $value) { if ($key…Continue reading