options = $options; } /** * Returns whether the 'Redirect attachment URLs to the attachment itself' setting has been enabled. * * @return bool `true` when the 'Redirect attachment URLs to the attachment itself' setting has been enabled. */ public function is_met() { return $this->options->get( 'disable-attachment' ); } }