Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
296 B
1
Indexable
Never
function doo_compose_ad($id){
	$rsp = '';
    $add = get_option($id);
    $adm = get_option($id.'_mobile');
    if(wp_is_mobile() && $adm){
        $rsp = do_shortcode(stripslashes($adm));
    }else{
        $rsp = do_shortcode(stripslashes($add));
    }
	// The Return
	return $rsp;
}