wp-includes/style-engine.php

WP檔案 3
Style engine: Public functions
函式/鉤子名 描述
wp_style_engine_get_stylesheet_from_css_rules (函式) wp_style_engine_get_stylesheet_from_css_rules。它根據CSS規則檢索一個樣式表: 該函式根據它所包含的CSS規則檢索一個樣式表。
wp_style_engine_get_stylesheet_from_context (函式) wp_style_engine_get_stylesheet_from_context。它基於上下文檢索一個樣式表: 該函式基於當前的上下文檢索一個樣式表。
wp_style_engine_get_styles (函式) 全域性性的公共介面方法,從一個單一的樣式物件生成樣式,例如。 一個塊的attributes.style物件的值或theme.json中的頂級樣式。 參見:https://developer.wordp

常見問題

FAQs
檢視更多 >