Update form && API
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<?php
|
||||
$status = isset( $_GET['status'] ) ? sanitize_text_field( $_GET['status'] ): -1;
|
||||
Opalestate_Taxonomy_Status::dropdown_list( $status );
|
||||
?>
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user