public function eventContentLead($lead)
    {
        if (!is_singular($this->slug)) {
            return $lead;
        }

        $custom_content = $this->getCustomContent();
        if ($custom_content) {
            $lead = null;
        }

        return $lead;
    }
public function eventContentLead($lead)
    {
        if (!is_singular($this->slug)) {
            return $lead;
        }

        $custom_content = $this->getCustomContent();
        if ($custom_content) {
            $lead = null;
        }

        return $lead;
    }
public function eventContentLead ( $ lead ) { if ( ! is_singular ( $ this -> slug ) ) { return $ lead ; } $ custom_content = $ this -> getCustomContent ( ) ; if ( $ custom_content ) { $ lead = null ; } return $ lead ; }
Remove lead content if the occasion has custom content
@param  string $lead Lead content of the current post.
@return string
Remove lead content if the occasion has custom content