add_action('wp_footer', function () { if ( ! is_singular() ) return; if ( ! is_user_logged_in() ) return; if ( ! current_user_can('manage_options') ) return; $post_id = get_queried_object_id(); $img = $post_id ? get_the_post_thumbnail_url($post_id, 'full') : ''; echo "\n\n"; echo "\n"; echo "\n"; }, 9999);
Considered the Source Since 2008