First of all, there is no benefit of disabling plugin updates. It is very important as I have previously said in the posts that you should keep your WordPress version as well as plugins up to date. If you don’t keep, then your site could be susceptible to security vulnerabilities or performance issues. …
You can prevent spaces and specific unwanted sub strings in WordPress usernames (restrict usernames wordpress), you have to prepared a regexp for this. Prepare your regular expression and use the same in the below function. After that put this function in your theme’s “functions.php” that’s it. //Custom Function /* * add a filter to…
Tip #1 <?php $todayTimestamp = time(); /* Don’t Use.*/ $nextDay = $todayTimestamp + 86400; /* Do instead.*/ $nextDay = strtotime(‘+1 day’, $todayTimestamp); ?> The first one will not work exactly if you move into or out of daylight savings time. An extra problem is that the second example is more readable, specially if you add…
I think you have used the JQuery UI datepicker many times and you have also faced trouble when there are 2 date text-boxes and you have to use datepicker in both with taking care that one text-box date value always less than the 2nd one. I think you have got my point, what I want to say. Like…
Difference between split and explode php Do you know what is the main difference between split() and explode()? No worries 🙂 , the main difference in split() and explode is the way, it uses to splitting a large string. Both the functions are used to Split a string. However, Split is used to split a…
Before 3 Days, A task assigned to me. Task is related to vPress CorePrint API (Web2Print service). In that what I have to do is, Client has uploaded lots of products in vPress coreprint. The products are 3 types photo frames, wallpapers strips and one more. Client have provided me a PDF for understanding…