Using Below query we can find near by locations by lat-lng. $zipcode_lat = 23.0314594; $zipcode_long = 72.5641077; [crayon-62b93f1a69557629135041-i/]Read more …
Use below code to allow your users to add phone numbers. Paste this full code in functions.php file. This will add new field on user profile for “Phone Number” and add a column user table on WordPress admin for phone. [crayon-62b93f1a697d3774100052/] Read more …
These are multi-dimensional associative arrays, you can recursively do an array_diff_assoc. Use below code for find difference between two multidimensional array. [crayon-62b93f1a698c0848857315/] Read more …
array_count_values() returns an array using the values of array as keys and their frequency in array as values. [crayon-62b93f1a699a2189420635/] For counting the values with case-insensitive matching [crayon-62b93f1a699a5723145417/] This prints: [crayon-62b93f1a699a6977087236/] Read more …
The ‘hierarchical’ argument, which is disabled by default, will override the depth argument, unless it is true. When the argument is false, it will display all of the categories. When it is enabled it will use the value in the ‘depth’ argument. [crayon-62b93f1a69aaf251163679-i/] For get html list of category by...Read more …