'fcrm-email', 'label' => __('FluentCRM Email', 'fluent-crm'), 'description' => __('Reusable email sections for FluentCRM editor.', 'fluent-crm') ]; return $categories; } public function addCustomPatterns($patterns) { $patterns[] = [ 'name' => 'fcrm/intro-cta', 'title' => __('Intro + CTA', 'fluent-crm'), 'categories' => ['fcrm-email'], 'keywords' => ['intro', 'cta'], 'content' => '

' . esc_html__('Welcome to our newsletter', 'fluent-crm') . '

' . esc_html__('Share your main message here in one short paragraph.', 'fluent-crm') . '

' ]; $patterns[] = [ 'name' => 'fcrm/two-button-row', 'title' => __('Two Button Row', 'fluent-crm'), 'categories' => ['fcrm-email'], 'keywords' => ['buttons', 'actions'], 'content' => '

' . esc_html__('Choose an action:', 'fluent-crm') . '

' . esc_html__('Primary Action', 'fluent-crm') . '
' . esc_html__('Secondary Action', 'fluent-crm') . '
' ]; $patterns[] = [ 'name' => 'fcrm/feature-list', 'title' => __('Feature List', 'fluent-crm'), 'categories' => ['fcrm-email'], 'keywords' => ['list', 'features'], 'content' => '

' . esc_html__('Why people choose us', 'fluent-crm') . '

' ]; $patterns[] = [ 'name' => 'fcrm/event-reminder', 'title' => __('Event Reminder', 'fluent-crm'), 'categories' => ['fcrm-email'], 'keywords' => ['event', 'reminder'], 'content' => '

' . esc_html__('Reminder: Upcoming Event', 'fluent-crm') . '

' . esc_html__('Date: Monday, 10:00 AM', 'fluent-crm') . '
' . esc_html__('Location: Online', 'fluent-crm') . '

' ]; $patterns[] = [ 'name' => 'fcrm/simple-footer-note', 'title' => __('Simple Footer Note', 'fluent-crm'), 'categories' => ['fcrm-email'], 'keywords' => ['footer', 'note'], 'content' => '

' . esc_html__('Need help? Reply to this email and our team will assist you.', 'fluent-crm') . '

' ]; return $patterns; } }