BSF_Analytics::get_analytics_url( string $analytics_path )

BSF Analytics URL


Description


Parameters

$analytics_path

(string) (Required) directory path to analytics library.


Return

(String) URL of bsf-analytics directory.


Source

File: admin/bsf-analytics/class-bsf-analytics.php

		public function get_analytics_url( $analytics_path ) {

			$content_dir_path = wp_normalize_path( WP_CONTENT_DIR );

			$analytics_path = wp_normalize_path( $analytics_path );

			return str_replace( $content_dir_path, content_url(), $analytics_path );
		}

Changelog

Changelog
Version Description
1.0.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.