WPbooking Tour

Class WPBooking_Accommodation_Service_Type là service type Accommodation . You can post any kind of property like hotel, hostel, room … anything called accommodation. Dưới dây là action và filter mà class sử dụng ! Back-End Init Register service type Tour :  add_action('init', array($this, '_register_tour_type')); Init Register meta box :  add_action('init', array($this, '_register_meta_fields')); Thêm options Tour trong setting service type: $this->settings=array(...); Front-End Filter thay đổi […]

Read More

WPbooking Accommodation

Class WPBooking_Accommodation_Service_Type là service type Accommodation . You can post any kind of property like hotel, hostel, room … anything called accommodation. Dưới dây là action và filter mà class sử dụng ! Back-End Init Register service type Accommodation and meta box :  add_action('init', array($this, '_add_init_action')); Thêm options Accommodation trong setting service type: $this->settings=array(...); Ajax  hiển thị form edit […]

Read More