WordPress Interview Question

WordPress is a free and open-source content management system based on PHP &  MySQL. Features include a plugin architecture and a template system.

Man Reading
Arrow

When was WordPress released?

2003, WordPress was released on May 27, 2003, by its  founders, Matt Mullenweg and Mike Little, as a fork of b2/catalog. The  software is released under the GPLv2 (or later) license. 

Man Reading
Arrow

What is an action hook?

In WordPress theme and development, Hooks are functions that can be applied to an Action or a Filter in WordPress. 

Man Reading
Arrow

Actions hook

has_action() add_action() do_action() do_action_ref_array() did_action() remove_action() remove_all_actions()

Man Reading
Arrow

Filters Hook

has_filter() add_filter() apply_filters() apply_filters_ref_array() current_filter() remove_filter() remove_all_filters()

Man Reading
Arrow

How do you enable debug mode in WP?

Enable debug mode in WP by editing the wp-config.php file and changing WP_DEBUG constant value to true 

Man Reading
Arrow

Where is WordPress content stored?

WordPress stores uploaded images and media in the file system, but pages and posts are stored in the MYSQL Database. 

Man Reading
Arrow

List most commonly functions used in WordPre

wp_nav_menu()   is_page() get_the_excerpt()  in_category() the_title() the_content()

Man Reading
Arrow

What are the differences between Posts and Pages?

Posts are for timely content. They have a publish date and are displayed in reverse chronological order on your blog page.  

Man Reading
Arrow