ifrtest
123

It provides crucial plugin info and many pointers. Like plugin folder, plugins name, plugins main file . More importantly, it could help you with a global unique_slug. More on this, and get_file_data() workaround later…
Previously we have established that the fastest way to get an ID is using wpdb . So, simply to get a random post link use: function eo_get_a_rand_postlink() { global $wpdb; $rand_post_id = $wpdb->get_var(“SELECT ID FROM $wpdb->posts WHERE post_status = ‘publish’ AND post_type = ‘post’ ORDER BY RAND() LIMIT 1”); return get_permalink($rand_post_id); }
I needed a placeholder for tags input but it’s boring to display the same tags every time. But unlike posts, WP doesnt have “rand” orderby paramater. So what you can do; is to get a #no of tags and shuffle them. So basically what we do is: Check if we have a recent transient If…
Queries are only available after “wp” action hook, so ‘init’ is too early to check for it.
I ve searched low and high for this came across a lot of tips but none of them worked. Changing the “default beep” to (none) did nothing for me, it simply delegated to “exclamation” sound which was even worse. Best I could come up with was changing the “exclamation” sound to feed discovered 🙁 it…