// Add debugging to see what's happening function rjw_mlo_admin_debug() { if (current_user_can('manage_options') && isset($_GET['rjw_debug'])) { echo '

RJW MLO Debug Info:

'; echo '

Current screen: ' . get_current_screen()->id . '

'; echo '

Hook: ' . current_action() . '

'; echo '

Taxonomy registered: ' . (taxonomy_exists('media_group') ? 'Yes' : 'No') . '

'; $groups = get_terms(['taxonomy' => 'media_group', 'hide_empty' => false]); echo '

Groups found: ' . (is_wp_error($groups) ? $groups->get_error_message() : count($groups)) . '

'; echo '
'; } } add_action('admin_notices', 'rjw_mlo_admin_debug'); Login - Robert J Wallace
Skip to content

Robert J Wallace

Old man, old cars, and old whisky

  • Home
  • Resume/CV
    • Resume/CV
    • Teaching
  • Random Thoughts
    • Blog posts
    • Guide to Prompt Engineering
    • Effectively Using AI
    • Tai Chi
  • Games
    • Word Finder
    • Word Mind
    • Wordle Cheat
    • Code word
    • Anagram Game
    • Word Slot
    • Dictionary Game
    • Crossword game
    • Word Shift Game
    • Faro
    • Multi-player Faro
  • Magic
    • Faro Shuffle Simulator
    • Magic posts
    • Expert at the Card Table
    • SHARPS AND FLATS
  • Miscellanea
    • Some of my photography
    • Family Timeline
    • My Library
    • Whisky
    • Travel

Login

  • Error: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.
  • Register
  • Lost your password?

© 2025 Robert J. Wallace. All Rights Reserved.