Automator_Functions::get_author_support_link( string $code = '', string $link = '' )


Parameters Parameters

$code

(string) (Optional)

Default value: ''

$link

(string) (Optional)

Default value: ''


Top ↑

Return Return

(mixed)


Source Source

File: src/core/lib/class-automator-functions.php

	public function get_author_support_link( $code = '', $link = '' ) {
		$url = 'https://automatorplugin.com/';
		if ( ! empty( $code ) ) {
			$code   = strtolower( $code );
			$filter = "automator_{$code}_author_support_link";
		} else {
			$filter = 'automator_author_support_link';
		}
		if ( ! empty( $link ) ) {
			$url .= $link;
		}

		return apply_filters( $filter, $url );
	}