bps_current_page()

Description

Source

File: bp-search/bp-search-functions.php

	function bps_current_page() {
		$current = defined( 'DOING_AJAX' ) ? parse_url( $_SERVER['HTTP_REFERER'],
			PHP_URL_PATH ) : parse_url( $_SERVER['REQUEST_URI'], PHP_URL_PATH );

		return apply_filters( 'bps_current_page', $current );        // published interface, 20190324
	}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.