$value ) { if ( $value > 0 ) { $id = pll_get_post( $value ); if ( ! empty( $id ) ) { $settings[ $key ] = $id; } } } return $settings; } }