beans_get_compiler_url

Get beans compiler url.

beans_get_compiler_url( $admin = false )

Return: (string) Compiler directory.

Source

function beans_get_compiler_url( $admin = false ) {

	$wp_upload_dir = wp_upload_dir();
	$suffix = $admin ? 'beans/admin-compiler/' : 'beans/compiler/';

	return trailingslashit( $wp_upload_dir['baseurl'] ) . $suffix;

}