sandeepjain

i am sandeep kumar jain. By profession i am web developer

Debugging in web development

Debugging in any programming is very important. I follow following steps for it: 1- Check issue and analyse it for some time. 2- Before jump to google check core documentation for issue like issue is due to function etc. Like you are doing coding on Linux and checking on it but issue which raised are […]

3rd parameter in add_action

Many times we ignore third parameter in add_action. add_action( string $tag, callable $function_to_add, int $priority = 10, int $accepted_args = 1 ) If you read documentation on wordpress doc then you will found higher priority leter execution Let us take some example add_action(‘wp_head’,’check_action1′,100); function check_action(){ echo ‘later sandeep call’; } add_action(‘wp_head’,’check_action2′,13); function check_action2(){ echo ‘first […]