Callback Choice | WordPress.org

Base on the documentation, I followed to achieve choices callback, I got to realize that to be able to add choices to dropdown, we have to follow that procedure to achieve it by adding those codes on functions.php.

I’m asking of an automated way of adding the choices callback without having to add them from the functions.php

We’re delivering a project to our client, and they are asking of how they can add those categories and subcategories (base on how we have it on the website)

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer