Custom Function

Add the following function in the Ocean child theme or a custom plugin by replacing the number 1 by your own refferal number, this will add your affiliate link in the WordPress dashboard for the welcome page and the extensions tab in Theme Panel.

function my_ocean_affiliate_ref() { 
    return '?ref=1'; // Replace 1 with your refferal number
add_filter( 'ocean_affiliate_ref', 'my_ocean_affiliate_ref' );