bsf_exension_installer_url( int $priduct_id )

BSF extension installer URL


Description


Parameters

$priduct_id

(int) (Required) Product ID.


Return

(string) URL.


Source

File: admin/bsf-core/index.php

	function bsf_exension_installer_url( $priduct_id ) {

		if ( is_multisite() ) {

			if ( defined( 'BSF_REG_MENU_TO_SETTINGS' ) && ( BSF_REG_MENU_TO_SETTINGS === true || BSF_REG_MENU_TO_SETTINGS === 'true' ) ) {
				return network_admin_url( 'settings.php?page=bsf-extensions-' . $priduct_id );
			} else {
				return network_admin_url( 'admin.php?page=bsf-extensions-' . $priduct_id );
			}
		} else {
			return admin_url( 'admin.php?page=bsf-extensions-' . $priduct_id );
		}
	}


User Contributed Notes

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