Home / Interview / Wordpress :: General Questions

Interview :: Wordpress

11) What are the hooks? Define different types of hooks in WordPress.

Hooks enable users to create WordPress themes or plug-ins with shortcode without changing the original files.

There are two types of hooks:

Action hooks: Action hooks facilitate you to insert an additional code from an outside resource.

Filter hooks: Filter hooks facilitate you to add content or text at the end of the post.

12) What are the most exciting and useful features of WordPress?

These are the features which make WordPress very popular:

  • Easy to install and upgrade
  • In-built SEO engine
  • Free and easy theme selection
  • Flexibility
  • Multilingual- available in more than 70 languages
  • Own data- no unwanted advert on your website
  • Flexibility and Easy publishing option
13) Why does WordPress use MySQL?

Following are the reasons to use MySQL with WordPress:

  • Open source
  • Extremely fast
  • A widely available database server
  • Supported by low-cost Linux hosting
14) How many tables are there in WordPress by default?

At present version, there are about 11 tables in WordPress by default. You can check the number of tables in WordPress by phpMyAdmin.

  • wp_commentmeta
  • wp_comments
  • wp_links
  • wp_options
  • wp_postmeta
  • wp_posts
  • wp_terms
  • wp_term_relationships
  • wp_term_taxonomy
  • wp_usermeta
  • wp_users

Note: The number of tables may be changed with successive releases.

15) What is by default prefix of WordPress tables?

The wp_ is by default prefix of WordPress tables.

16) In WordPress, objects are passed by value or by reference.

In WordPress, all objects are passed by value.

17) How can you call a constructor for a parent class?

You can call a constructor for a parent class by this way:

Parents:: constructor($value)

18) In which cases, WordPress is not suitable for a website?

These are some situations when WordPress is not recommended:

  • If the client is working on the non-CMS based project.
  • For sophisticated and innovative e-commerce sites.
  • Sites which require custom scripting solutions.
19) Is WordPress the best CMS or any other CMS is better than WordPress?

No doubt WordPress is good CMS, but Drupal and Joomla are considered better CMS than WordPress to work.

20) Which is considered more secured wordpress.com or wordpress.org?

Wordpress.com is relatively more secure than wordpress.org because they limit the themes and does not allow plugin's installation. However, security depends on the hosting company of your website and also what steps they are taking to prevent the security problems.