_wp_normalize_relative_css_links


_wp_normalize_relative_css_links ( $css, $stylesheet_url )

Access:
  • private
Parameters:
  • (string) css The CSS to make URLs relative to the WordPress installation.
  • (string) stylesheet_url The URL to the stylesheet.
Returns:
  • (string) The CSS with URLs made relative to the WordPress installation.
Defined at:

Description

Makes URLs relative to the WordPress installation.

Related Functions

wp_kses_normalize_entities, wp_normalize_remote_block_pattern, wp_normalize_path, wp_make_link_relative, wp_normalize_site_data

Top Google Results

User discussions

wpseek mobile