Email::load_options( array $groups )

Description #

Register Categories options.

Parameters #

  • $groups
    array (Required) Group tabs.

Changelog #

VersionDescription
4.2.0Introduced.

Source #

File: addons/email/email.php

	public function load_options( $groups ) {
		$groups['email'] = array(
			'label' => __( 'Email', 'anspress-question-answer' ),
			'info'  => sprintf(
				// translators: placeholder contains link to email templates.
				__( 'Email templates can be customized here %s.', 'anspress-question-answer' ),
				'<a href="' . admin_url( 'admin.php?page=anspress_options&active_tab=emails' ) . '">' . esc_attr__( 'Customize email templates', 'anspress-question-answer' ) . '</a>'
			),
		);

		return $groups;
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment