Priority File Manager

📁 public_html
Base Directory:
/home/toolrmtm/crazyespresso.com/wp-includes/blocks
NameTypeSizeActions
📁 .. Folder -
📁 accordion Folder -
📁 accordion-heading Folder -
📁 accordion-item Folder -
📄 accordion-item.php File 2411
Edit Download
📁 accordion-panel Folder -
📄 accordion.php File 1147
Edit Download
📁 archives Folder -
📄 archives.php File 4415
Edit Download
📁 audio Folder -
📁 avatar Folder -
📄 avatar.php File 5745
Edit Download
📁 block Folder -
📄 block.php File 4186
Edit Download
📄 blocks-json.php File 218576
Edit Download
📁 button Folder -
📄 button.php File 1752
Edit Download
📁 buttons Folder -
📁 calendar Folder -
📄 calendar.php File 6075
Edit Download
📁 categories Folder -
📄 categories.php File 4650
Edit Download
📁 code Folder -
📁 column Folder -
📁 columns Folder -
📁 comment-author-name Folder -
📄 comment-author-name.php File 2133
Edit Download
📁 comment-content Folder -
📄 comment-content.php File 2459
Edit Download
📁 comment-date Folder -
📄 comment-date.php File 1863
Edit Download
📁 comment-edit-link Folder -
📄 comment-edit-link.php File 1713
Edit Download
📁 comment-reply-link Folder -
📄 comment-reply-link.php File 2075
Edit Download
📁 comment-template Folder -
📄 comment-template.php File 4494
Edit Download
📁 comments Folder -
📁 comments-pagination Folder -
📁 comments-pagination-next Folder -
📄 comments-pagination-next.php File 1924
Edit Download
📁 comments-pagination-numbers Folder -
📄 comments-pagination-numbers.php File 1632
Edit Download
📁 comments-pagination-previous Folder -
📄 comments-pagination-previous.php File 1790
Edit Download
📄 comments-pagination.php File 1261
Edit Download
📁 comments-title Folder -
📄 comments-title.php File 2772
Edit Download
📄 comments.php File 6784
Edit Download
📁 cover Folder -
📄 cover.php File 3175
Edit Download
📁 details Folder -
📁 embed Folder -
📁 file Folder -
📄 file.php File 1879
Edit Download
📁 footnotes Folder -
📄 footnotes.php File 3771
Edit Download
📁 freeform Folder -
📁 gallery Folder -
📄 gallery.php File 6439
Edit Download
📁 group Folder -
📁 heading Folder -
📄 heading.php File 1301
Edit Download
📁 home-link Folder -
📄 home-link.php File 5438
Edit Download
📁 html Folder -
📁 image Folder -
📄 image.php File 13824
Edit Download
📄 index.php File 5111
Edit Download
📁 latest-comments Folder -
📄 latest-comments.php File 5030
Edit Download
📁 latest-posts Folder -
📄 latest-posts.php File 8734
Edit Download
📁 legacy-widget Folder -
📄 legacy-widget.php File 4011
Edit Download
📁 list Folder -
📁 list-item Folder -
📄 list.php File 1273
Edit Download
📁 loginout Folder -
📄 loginout.php File 1664
Edit Download
📁 math Folder -
📁 media-text Folder -
📄 media-text.php File 4383
Edit Download
📁 missing Folder -
📁 more Folder -
📁 navigation Folder -
📁 navigation-link Folder -
📄 navigation-link.php File 13961
Edit Download
📁 navigation-submenu Folder -
📄 navigation-submenu.php File 9976
Edit Download
📄 navigation.php File 49550
Edit Download
📁 nextpage Folder -
📁 page-list Folder -
📁 page-list-item Folder -
📄 page-list-item.php File 361
Edit Download
📄 page-list.php File 13611
Edit Download
📁 paragraph Folder -
📁 pattern Folder -
📄 pattern.php File 1788
Edit Download
📁 post-author Folder -
📁 post-author-biography Folder -
📄 post-author-biography.php File 1524
Edit Download
📁 post-author-name Folder -
📄 post-author-name.php File 1951
Edit Download
📄 post-author.php File 2734
Edit Download
📁 post-comments-count Folder -
📄 post-comments-count.php File 1275
Edit Download
📁 post-comments-form Folder -
📄 post-comments-form.php File 2805
Edit Download
📁 post-comments-link Folder -
📄 post-comments-link.php File 2237
Edit Download
📁 post-content Folder -
📄 post-content.php File 2347
Edit Download
📁 post-date Folder -
📄 post-date.php File 3632
Edit Download
📁 post-excerpt Folder -
📄 post-excerpt.php File 3612
Edit Download
📁 post-featured-image Folder -
📄 post-featured-image.php File 9363
Edit Download
📁 post-navigation-link Folder -
📄 post-navigation-link.php File 4837
Edit Download
📁 post-template Folder -
📄 post-template.php File 5749
Edit Download
📁 post-terms Folder -
📄 post-terms.php File 3640
Edit Download
📁 post-time-to-read Folder -
📄 post-time-to-read.php File 6493
Edit Download
📁 post-title Folder -
📄 post-title.php File 2138
Edit Download
📁 preformatted Folder -
📁 pullquote Folder -
📁 query Folder -
📁 query-no-results Folder -
📄 query-no-results.php File 1847
Edit Download
📁 query-pagination Folder -
📁 query-pagination-next Folder -
📄 query-pagination-next.php File 3781
Edit Download
📁 query-pagination-numbers Folder -
📄 query-pagination-numbers.php File 4770
Edit Download
📁 query-pagination-previous Folder -
📄 query-pagination-previous.php File 3578
Edit Download
📄 query-pagination.php File 1176
Edit Download
📁 query-title Folder -
📄 query-title.php File 2943
Edit Download
📁 query-total Folder -
📄 query-total.php File 2535
Edit Download
📄 query.php File 5690
Edit Download
📁 quote Folder -
📁 read-more Folder -
📄 read-more.php File 1830
Edit Download
📄 require-dynamic-blocks.php File 4700
Edit Download
📄 require-static-blocks.php File 558
Edit Download
📁 rss Folder -
📄 rss.php File 4609
Edit Download
📁 search Folder -
📄 search.php File 23817
Edit Download
📁 separator Folder -
📁 shortcode Folder -
📄 shortcode.php File 735
Edit Download
📁 site-logo Folder -
📄 site-logo.php File 6334
Edit Download
📁 site-tagline Folder -
📄 site-tagline.php File 1203
Edit Download
📁 site-title Folder -
📄 site-title.php File 1864
Edit Download
📁 social-link Folder -
📄 social-link.php File 67735
Edit Download
📁 social-links Folder -
📁 spacer Folder -
📁 table Folder -
📁 tag-cloud Folder -
📄 tag-cloud.php File 1590
Edit Download
📁 template-part Folder -
📄 template-part.php File 10154
Edit Download
📁 term-count Folder -
📄 term-count.php File 1843
Edit Download
📁 term-description Folder -
📄 term-description.php File 1770
Edit Download
📁 term-name Folder -
📄 term-name.php File 2069
Edit Download
📁 term-template Folder -
📄 term-template.php File 4468
Edit Download
📁 terms-query Folder -
📁 text-columns Folder -
📁 verse Folder -
📁 video Folder -
📄 video.php File 2733
Edit Download
📁 widget-group Folder -
📄 widget-group.php File 2438
Edit Download
context['openInNewTab'] ) ? $block->context['openInNewTab'] : false; $text = ! empty( $attributes['label'] ) ? trim( $attributes['label'] ) : ''; $service = isset( $attributes['service'] ) ? $attributes['service'] : 'Icon'; $url = isset( $attributes['url'] ) ? $attributes['url'] : false; $text = $text ? $text : block_core_social_link_get_name( $service ); $rel = isset( $attributes['rel'] ) ? $attributes['rel'] : ''; $show_labels = array_key_exists( 'showLabels', $block->context ) ? $block->context['showLabels'] : false; // Don't render a link if there is no URL set. if ( ! $url ) { return ''; } /** * Prepend emails with `mailto:` if not set. * The `is_email` returns false for emails with schema. */ if ( is_email( $url ) ) { $url = 'mailto:' . antispambot( $url ); } /** * Prepend URL with https:// if it doesn't appear to contain a scheme * and it's not a relative link or a fragment. */ if ( ! parse_url( $url, PHP_URL_SCHEME ) && ! str_starts_with( $url, '//' ) && ! str_starts_with( $url, '#' ) ) { $url = 'https://' . $url; } $icon = block_core_social_link_get_icon( $service ); $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => 'wp-social-link wp-social-link-' . $service . block_core_social_link_get_color_classes( $block->context ), 'style' => block_core_social_link_get_color_styles( $block->context ), ) ); $link = '
  • '; $link .= ''; $link .= $icon; $link .= '' . esc_html( $text ) . ''; $link .= '
  • '; $processor = new WP_HTML_Tag_Processor( $link ); $processor->next_tag( 'a' ); if ( $open_in_new_tab ) { $processor->set_attribute( 'rel', trim( $rel . ' noopener nofollow' ) ); $processor->set_attribute( 'target', '_blank' ); } elseif ( '' !== $rel ) { $processor->set_attribute( 'rel', trim( $rel ) ); } return $processor->get_updated_html(); } /** * Registers the `core/social-link` blocks. * * @since 5.4.0 */ function register_block_core_social_link() { register_block_type_from_metadata( __DIR__ . '/social-link', array( 'render_callback' => 'render_block_core_social_link', ) ); } add_action( 'init', 'register_block_core_social_link' ); /** * Returns the SVG for social link. * * @since 5.4.0 * * @param string $service The service icon. * * @return string SVG Element for service icon. */ function block_core_social_link_get_icon( $service ) { $services = block_core_social_link_services(); if ( isset( $services[ $service ] ) && isset( $services[ $service ]['icon'] ) ) { return $services[ $service ]['icon']; } return $services['share']['icon']; } /** * Returns the brand name for social link. * * @since 5.4.0 * * @param string $service The service icon. * * @return string Brand label. */ function block_core_social_link_get_name( $service ) { $services = block_core_social_link_services(); if ( isset( $services[ $service ] ) && isset( $services[ $service ]['name'] ) ) { return $services[ $service ]['name']; } return $services['share']['name']; } /** * Returns the SVG for social link. * * @since 5.4.0 * * @param string $service The service slug to extract data from. * @param string $field The field ('name', 'icon', etc) to extract for a service. * * @return array|string */ function block_core_social_link_services( $service = '', $field = '' ) { $services_data = array( 'fivehundredpx' => array( 'name' => _x( '500px', 'social link block variation name' ), 'icon' => '', ), 'amazon' => array( 'name' => _x( 'Amazon', 'social link block variation name' ), 'icon' => '', ), 'bandcamp' => array( 'name' => _x( 'Bandcamp', 'social link block variation name' ), 'icon' => '', ), 'behance' => array( 'name' => _x( 'Behance', 'social link block variation name' ), 'icon' => '', ), 'bluesky' => array( 'name' => _x( 'Bluesky', 'social link block variation name' ), 'icon' => '', ), 'chain' => array( 'name' => _x( 'Link', 'social link block variation name' ), 'icon' => '', ), 'codepen' => array( 'name' => _x( 'CodePen', 'social link block variation name' ), 'icon' => '', ), 'deviantart' => array( 'name' => _x( 'DeviantArt', 'social link block variation name' ), 'icon' => '', ), 'discord' => array( 'name' => _x( 'Discord', 'social link block variation name' ), 'icon' => '', ), 'dribbble' => array( 'name' => _x( 'Dribbble', 'social link block variation name' ), 'icon' => '', ), 'dropbox' => array( 'name' => _x( 'Dropbox', 'social link block variation name' ), 'icon' => '', ), 'etsy' => array( 'name' => _x( 'Etsy', 'social link block variation name' ), 'icon' => '', ), 'facebook' => array( 'name' => _x( 'Facebook', 'social link block variation name' ), 'icon' => '', ), 'feed' => array( 'name' => _x( 'RSS Feed', 'social link block variation name' ), 'icon' => '', ), 'flickr' => array( 'name' => _x( 'Flickr', 'social link block variation name' ), 'icon' => '', ), 'foursquare' => array( 'name' => _x( 'Foursquare', 'social link block variation name' ), 'icon' => '', ), 'goodreads' => array( 'name' => _x( 'Goodreads', 'social link block variation name' ), 'icon' => '', ), 'google' => array( 'name' => _x( 'Google', 'social link block variation name' ), 'icon' => '', ), 'github' => array( 'name' => _x( 'GitHub', 'social link block variation name' ), 'icon' => '', ), 'gravatar' => array( 'name' => _x( 'Gravatar', 'social link block variation name' ), 'icon' => '', ), 'instagram' => array( 'name' => _x( 'Instagram', 'social link block variation name' ), 'icon' => '', ), 'lastfm' => array( 'name' => _x( 'Last.fm', 'social link block variation name' ), 'icon' => '', ), 'linkedin' => array( 'name' => _x( 'LinkedIn', 'social link block variation name' ), 'icon' => '', ), 'mail' => array( 'name' => _x( 'Mail', 'social link block variation name' ), 'icon' => '', ), 'mastodon' => array( 'name' => _x( 'Mastodon', 'social link block variation name' ), 'icon' => '', ), 'meetup' => array( 'name' => _x( 'Meetup', 'social link block variation name' ), 'icon' => '', ), 'medium' => array( 'name' => _x( 'Medium', 'social link block variation name' ), 'icon' => '', ), 'patreon' => array( 'name' => _x( 'Patreon', 'social link block variation name' ), 'icon' => '', ), 'pinterest' => array( 'name' => _x( 'Pinterest', 'social link block variation name' ), 'icon' => '', ), 'pocket' => array( 'name' => _x( 'Pocket', 'social link block variation name' ), 'icon' => '', ), 'reddit' => array( 'name' => _x( 'Reddit', 'social link block variation name' ), 'icon' => '', ), 'share' => array( 'name' => _x( 'Share Icon', 'social link block variation name' ), 'icon' => '', ), 'skype' => array( 'name' => _x( 'Skype', 'social link block variation name' ), 'icon' => '', ), 'snapchat' => array( 'name' => _x( 'Snapchat', 'social link block variation name' ), 'icon' => '', ), 'soundcloud' => array( 'name' => _x( 'SoundCloud', 'social link block variation name' ), 'icon' => '', ), 'spotify' => array( 'name' => _x( 'Spotify', 'social link block variation name' ), 'icon' => '', ), 'telegram' => array( 'name' => _x( 'Telegram', 'social link block variation name' ), 'icon' => '', ), 'threads' => array( 'name' => _x( 'Threads', 'social link block variation name' ), 'icon' => '', ), 'tiktok' => array( 'name' => _x( 'TikTok', 'social link block variation name' ), 'icon' => '', ), 'tumblr' => array( 'name' => _x( 'Tumblr', 'social link block variation name' ), 'icon' => '', ), 'twitch' => array( 'name' => _x( 'Twitch', 'social link block variation name' ), 'icon' => '', ), 'twitter' => array( 'name' => _x( 'Twitter', 'social link block variation name' ), 'icon' => '', ), 'vimeo' => array( 'name' => _x( 'Vimeo', 'social link block variation name' ), 'icon' => '', ), 'vk' => array( 'name' => _x( 'VK', 'social link block variation name' ), 'icon' => '', ), 'wordpress' => array( 'name' => _x( 'WordPress', 'social link block variation name' ), 'icon' => '', ), 'whatsapp' => array( 'name' => _x( 'WhatsApp', 'social link block variation name' ), 'icon' => '', ), 'x' => array( 'name' => _x( 'X', 'social link block variation name' ), 'icon' => '', ), 'yelp' => array( 'name' => _x( 'Yelp', 'social link block variation name' ), 'icon' => '', ), 'youtube' => array( 'name' => _x( 'YouTube', 'social link block variation name' ), 'icon' => '', ), ); /** * Filter the list of available social service. * * This can be used to change icons or add custom icons (additionally to variations in the editor). * Icons should be directly renderable - therefore SVGs work best. * * @since 6.9.0 * * @param array $services_data The list of services. Each item is an array containing a 'name' and 'icon' key. * @return array The list of social services. */ $services_data = apply_filters( 'block_core_social_link_get_services', $services_data ); if ( ! empty( $service ) && ! empty( $field ) && isset( $services_data[ $service ] ) && ( 'icon' === $field || 'name' === $field ) ) { return $services_data[ $service ][ $field ]; } elseif ( ! empty( $service ) && isset( $services_data[ $service ] ) ) { return $services_data[ $service ]; } return $services_data; } /** * Returns CSS styles for icon and icon background colors. * * @since 5.7.0 * * @param array $context Block context passed to Social Link. * * @return string Inline CSS styles for link's icon and background colors. */ function block_core_social_link_get_color_styles( $context ) { $styles = array(); if ( array_key_exists( 'iconColorValue', $context ) ) { $styles[] = 'color:' . $context['iconColorValue'] . ';'; } if ( array_key_exists( 'iconBackgroundColorValue', $context ) ) { $styles[] = 'background-color:' . $context['iconBackgroundColorValue'] . ';'; } return implode( '', $styles ); } /** * Returns CSS classes for icon and icon background colors. * * @since 6.3.0 * * @param array $context Block context passed to Social Sharing Link. * * @return string CSS classes for link's icon and background colors. */ function block_core_social_link_get_color_classes( $context ) { $classes = array(); if ( array_key_exists( 'iconColor', $context ) ) { $classes[] = 'has-' . $context['iconColor'] . '-color'; } if ( array_key_exists( 'iconBackgroundColor', $context ) ) { $classes[] = 'has-' . $context['iconBackgroundColor'] . '-background-color'; } return ' ' . implode( ' ', $classes ); }