ap_get_ask_btn()

Description #

Return the ask button.

Changelog #

VersionDescription
2.1Introduced.

Source #

File: includes/theme.php

function ap_get_ask_btn() {
	$link = ap_get_link_to( 'ask' );

	/**
	 * Filter ask button link.
	 *
	 * @param string $link
	 */
	$link = apply_filters( 'ap_ask_btn_link', $link );

	return '<a class="ap-btn-ask" href="' . esc_url( $link ) . '">' . esc_attr__( 'Ask question', 'anspress-question-answer' ) . '</a>';
}

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