Update form && API

This commit is contained in:
Hoang Huu
2019-10-09 17:23:19 +07:00
parent 7b67843a52
commit a7f217d7a4
12 changed files with 576 additions and 56 deletions

View File

@@ -4,5 +4,5 @@ $scategories = isset( $_GET['cat'] ) ? $_GET['cat'] : -1;
if ( isset( $ismultiple ) ) {
Opalestate_Taxonomy_Categories::get_multi_check_list( $scategories );
} else {
Opalestate_Taxonomy_Categories::dropdown_list();
Opalestate_Taxonomy_Categories::dropdown_list( $stypes );
}

View File

@@ -1,4 +1,3 @@
<?php
$status = isset( $_GET['status'] ) ? sanitize_text_field( $_GET['status'] ): -1;
Opalestate_Taxonomy_Status::dropdown_list( $status );
?>

View File

@@ -4,5 +4,5 @@ $stypes = isset( $_GET['types'] ) ? $_GET['types'] : -1;
if ( isset( $ismultiple ) ) {
Opalestate_Taxonomy_Type::get_multi_check_list( $stypes );
} else {
Opalestate_Taxonomy_Type::dropdown_list();
Opalestate_Taxonomy_Type::dropdown_list( $stypes );
}