WordPress interview questions for WordPress developers

    Following are some really important WordPress interview questions for WordPress developer:
  1. How can we prepare wp-config.php in a way so that it takes environment specific database credentials?
  2. If we want to bypass the FTP credentials to install plugin what constant we need to set?
  3. What is the hook that is required to activate a WordPress plugin?
  4. How can we resolve the name conflicts on WordPress plugin development?
  5. How can I tell WordPress to load my custom JavaScript file to load after jQuery?
  6. What are the benefits of wp_enqueue_script?
  7. If your plagin needs a database table how do we add that?
  8. How do we alter a database table field using the WordPress plugin?
  9. How many ways we can access database of WordPress inside plugin?
  10. What the advantages of WordPress do_while, have_post, the_post functions?
  11. Why WordPress does not use PHP session at all?
  12. What are the post types in WordPress?
  13. When an image is uploaded to WordPress which tables it stores?
  14. What is the post type for an image upload?
  15. How do we change the site domain if the domain already exists in the database?
  16. Why do we need to register script before enqueue script in WordPress?
  17. What are the default post types in WordPress?
  18. What is a template hierarchy in WordPress? For a category called news what are the template files WordPress will look for?
  19. What are thedifferences between WordPress actions and fitlers?
  20. When do we need .mo and .po file in WordPress?
  21. What are the difference between pages vs posts in WordPress?
  22. How can we do partail render of template in WordPress?
  23. Where does WordPress stores user role related information?
  24. What object WordPress recommend to access it's database?
  25. How we can protect queries from SQL injection attack in WordPress?
  26. What are the difference between $wpdb and WP_Query in WordPress?
  27. What does wp_localize_script do in case ajax call in WordPress?

Comments