react-code-dataset / wp-calypso /apps /happy-blocks /block-library /support-content-footer /includes.php
react-code-dataset / wp-calypso /apps /happy-blocks /block-library /support-content-footer /includes.php
Download wp-calypso/apps/happy-blocks/block-library/support-content-footer/includes.php from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 782 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/happy-blocks/block-library/support-content-footer/includes.php
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/apps/happy-blocks/block-library/support-content-footer/includes.php
-
curl -L -o includes.php https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/happy-blocks/block-library/support-content-footer/includes.php
782 Bytes
| /** | |
| * Title: Footer content for support sites | |
| * Slug: happy-blocks/support-content-footer | |
| * Categories: support | |
| * | |
| * @package happy-blocks | |
| */ | |
| if ( ! function_exists( 'happy_blocks_get_content_footer_asset' ) ) { | |
| /** | |
| * Find the URL of the asset file from happy-blocks. | |
| * | |
| * @param file $file The file name. | |
| */ | |
| function happy_blocks_get_content_footer_asset( $file ) { | |
| return array( | |
| 'path' => "https://wordpress.com/wp-content/a8c-plugins/happy-blocks/block-library/support-content-footer/build/$file", | |
| 'version' => filemtime( __DIR__ . "/build/$file" ), | |
| ); | |
| } | |
| } | |
| $css = happy_blocks_get_content_footer_asset( is_rtl() ? 'view.rtl.css' : 'view.css' ); | |
| wp_enqueue_style( 'happy-blocks-support-footer-style', $css['path'], array(), $css['version'] ); | |