Set default vlaue for the option

This commit is contained in:
moon 2022-04-15 06:58:24 -07:00
parent f0e8ad9c86
commit db8ccabb15
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?php
$filters = get_option(WCA_Test_Helper_Rest_Api_Filters::WC_ADMIN_TEST_HELPER_REST_API_FILTER_OPTION);
$filters = get_option(WCA_Test_Helper_Rest_Api_Filters::WC_ADMIN_TEST_HELPER_REST_API_FILTER_OPTION, [] );
function array_dot_set( &$array, $key, $value ) {
if ( is_null( $key ) ) {