Use this
add_action( ‘wp_footer’, ‘get_my_custom_variable’);
instead of
add_action( ‘wp_footer’, ‘get_my_custom_variable’, 10 );
Let me know how it goes.
Cheers,
Sudar
I tried that first, actually, adding the “10” when I saw that “priority” variable mentioned on the Codex. I added it thinking it might make a difference.
It didn’t. Neither works.
You can check out my currently used code here:
http://rickbeckman.org/wp-content/plugins/php-linkifier.phps
Still doesn’t work. :\