
Search In
Hello readers, today we discussed about How to remove parent theme Action and Filter in wordpress child theme.
Some theme have its own hook function that change theme behavior and functionality.
Some example are below, Right now I am not going to ex
Hello Reader's if you are developing the website and you want to restrict file upload to max of 4 then you can use the code as below:-
The logic for this condition is you just have to return false is count of array is more than 4. Let's see how is i
In JQuery to check that element is exists or not we use length() function. Using length() function we will check the length of the selector, if it returns something then the element must exists else not.
if( $('#selector').length ) // to c
Hi Reader's,
Welcome to FindNerd, today we are going to discuss How to upload restrict file in PHP ?
If you want upload only jpg, gif image and other type of images not allow to upload
then, you have to use bellow php code:
<?php
//here def
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use filesize() function in php ?
The filesize() function basically is used for returning the size of the specified file.
filesize() function returns the file size in bytes
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to check validate url in php ?
If want to check validate url in php then you can use FILTER_VALIDATE_URL.This is filter validates a URL.
you can see below example
<?php
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to removes a directory in php ?
If you want removes a directory then you should use The rmdir() function that is removes an empty directory.
The rmdir() function returns "TRU
To convert hexadecimal values to ASCII characters we will use a PHP function hex2bin().
Syntax:
hex2bin(string);
In above line we have a passed a parameter string in the function which is basically the hexadecimal value that we need to convert t
There is method to add elements at the beginning of an array using unshift method
The array unshift method adds element at the beginning of an array and returns its new length. This method can be applied to the objects that resembles an array.
Syn
To check a function exist or not in PHP we use a built-in function function_exists(). This function check that the function exists or not.
Syntax:
function_exists(function_name);
It includes one parameter i.e., the name of the function which you
