ap_get_short_link( array $args )

Description #

Return short link to a item.

Parameters #

  • $args
    array (Required) Arguments.

Changelog #

VersionDescription
unknownunknown
4.1.6Introduced.

Source #

File: includes/functions.php

function ap_get_short_link( $args ) {
	array_unshift( $args, array( 'ap_page' => 'shortlink' ) );
	return add_query_arg( $args, home_url( '/' ) );
}

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