更新给定主题的custom_css帖子。
原型
wp_update_custom_css_post( string $css, array $args = array() )
描述
当一个custom_css帖子尚不存在时插入。
参数
$css
(string)
(Required)
CSS,存储在post_content中。
$args
(array)
(Optional)
参数数量。 ‘preprocessed’(字符串)预处理的CSS,存储在post_content_filtered中。通常是空字符串。可选的。 ‘stylesheet’(字符串)要更新的样式表(子主题)。可选,默认为当前主题/样式表。
源文件
路径:“
<?php
...
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/wp_update_custom_css_post/