| @@ -88,20 +88,8 @@ | ||
| 88 | 88 | /** |
| 89 | 89 | * @author Leo Fajardo (@leorw) |
| 90 | 90 | * @since 2.1.0 |
| 91 | 91 | * |
| 92 | - * @return bool|null | |
| 93 | - */ | |
| 94 | - public function is_required() { | |
| 95 | - return isset( $this->_data['required'] ) ? | |
| 96 | - $this->_data['required'] : | |
| 97 | - null; | |
| 98 | - } | |
| 99 | - | |
| 100 | - /** | |
| 101 | - * @author Leo Fajardo (@leorw) | |
| 102 | - * @since 2.1.0 | |
| 103 | - * | |
| 104 | 92 | * @param bool $is_required |
| 105 | 93 | */ |
| 106 | 94 | public function store_is_required( $is_required ) { |
| 107 | 95 | $this->update_option( 'required', $is_required ); |