get_var( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared return preg_match( '/^\d{4}-\d{2}-\d{2}$/', $value ) ? $value : ''; } }