So the first step is to add the recaptcha api call to before the close head tag. <script src='https://www.google.com/recaptcha/api.js'></script> </head> Then within the form itself before the submit button or where ever you would like the reCaptcha...
Here is a function that returns whether or not PHP Session is activated or now. function is_session_started() { if ( php_sapi_name() !== ‘cli' ) { if ( version_compare(phpversion(), ‘5.4.0', ‘>=') ) { return session_status() === PHP_SESSION_ACTIVE...
If you are ever looking for a quick and easy way to list all of the pages on your site that are published here is how I accomplished it. It uses the WordPress get_pages() function to then output the title and permalink if the post status is published. //use...
I found the need to make it easier to copy something into the clipboard so I wrote this little Javacscript function based off of what I found in a web search. function copyFunc(idToCopy) { /* Get the HTML Element based on ID passed to function */ var copyText =...
Often times I am finding myself wanting to know how much space is being used up by an account after deleting a bunch of items. CPanel is known for updating it every so often throughout the day, maybe every 4 hours or so but I don't really know. So as admin you are...