Description #

Retrieve permalink to base page.

Changelog #

3.0.0Return link to questions page if base page not selected.

Source #

File: includes/functions.php

function ap_base_page_link() {
	if ( empty( ap_opt( 'base_page' ) ) ) {
		return home_url( '/questions/' );
	return get_permalink( ap_opt( 'base_page' ) );

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