Appointments+ plugin modification

Is there a way to remove or edit the PRICE and DURATION fields when creating a service?

  • Vinod Dalvi

    Hi Eli,

    I hope you are well today and thank you for your question.

    You can just hide the PRICE and DURATION fields displayed when creating a service in the admin area by using the attached small plugin containing the following code.

    function add_custom_admin_styles(){ ?>
    	<style type="text/css">
    		body.appointments_page_app_settings #services-table th:nth-child(4),
    		body.appointments_page_app_settings #services-table td:nth-child(4),
    		body.appointments_page_app_settings #services-table th:nth-child(5),
    		body.appointments_page_app_settings #services-table td:nth-child(5){
    			display: none;
    		}
    	</style>
    <?php }
    add_action('admin_head', 'add_custom_admin_styles');

    Best Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.