function synved_shortcode_path_uri($path = null) { $uri = plugins_url('/synved-shortcodes') . '/synved-shortcode'; if (function_exists('synved_plugout_module_uri_get')) { $mod_uri = synved_plugout_module_uri_get('synved-shortcode'); if ($mod_uri != null) { $uri = $mod_uri; } } if ($path != null) { if (substr($uri, -1) != '/' && $path[0] != '/') { $uri .= '/'; } $uri .= $path; } return $uri; }
function synved_social_path_uri($path = null) { $uri = plugins_url('/social-media-feather') . '/synved-social'; if (function_exists('synved_plugout_module_uri_get')) { $mod_uri = synved_plugout_module_uri_get('synved-social'); if ($mod_uri != null) { $uri = $mod_uri; } } if ($path != null) { if (substr($uri, -1) != '/' && $path[0] != '/') { $uri .= '/'; } $uri .= $path; } return $uri; }