Download wp-calypso/client/my-sites/marketing/paths.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 519 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/marketing/paths.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/marketing/paths.ts
-
curl -L -o paths.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/marketing/paths.ts
519 Bytes
| export const marketingConnections = ( siteSlug?: string | null ): string => { | |
| return `/marketing/connections/${ siteSlug || '' }`; | |
| }; | |
| export const marketingTraffic = ( siteSlug?: string | null ): string => { | |
| return `/marketing/traffic/${ siteSlug || '' }`; | |
| }; | |
| export const marketingSharingButtons = ( siteSlug?: string | null ): string => { | |
| return `/marketing/sharing-buttons/${ siteSlug || '' }`; | |
| }; | |
| export const pluginsPath = ( siteSlug?: string | null ): string => { | |
| return `/plugins/${ siteSlug || '' }`; | |
| }; | |