We continue our series of articles on the topic of the WordPress API. Today, we’ll explore general techniques for interacting with the API, which can be applied to custom post types, categories, and other taxonomies.

Order website or plugin development for WordPress, website development on the Laravel, Symfony, or Yii2 framework…

We continue our series of articles on the topic of the WordPress API. Today, we’ll explore general techniques for interacting with the API, which can be applied to custom post types, categories, and other taxonomies.

What needs to be done to add an extra column to the product list table in a WordPress store? In fact, adding new columns in the Woo plugin is no different from adding columns to the regular post table.

Out of the box, WordPress comes with all the necessary functionality to work with APIs. Interaction with the WordPress REST API is handled via endpoint classes located in the “/wp-includes/rest-api/endpoints” directory. So, if you have any questions about how something works, what filters are supported in search, or which hooks are available — I recommend first taking a look at that directory. It contains plenty of information to help you understand, sometimes confusingly presented, but thanks to modern editors, everything is searchable.

Today’s article concludes the series of lessons on developing an autocomplete plugin. Due to the plugin's functionality expansion, many changes have been made. So we’ll need to go through the code from the very beginning again, but without too many details. In short, two additional shortcodes have been added for more flexible output manipulation. One shortcode displays the list of posts, the other — the pagination.

Today we’re publishing the second-to-last lesson in this tutorial series. In this lesson, we’ll connect the autocomplete functionality and make a few adjustments to our previously written code. By the end, we’ll be able to see the list of matching posts displayed via autocomplete.