原型
dolly_css()
源文件
路径:wp-content/plugins/hello.php
<?php
...
// This makes sure that the positioning is also good for right-to-left languages
$x = is_rtl() ? 'left' : 'right';
echo "
<style type='text/css'>
#dolly {
float: $x;
padding-$x: 15px;
padding-top: 5px;
margin: 0;
font-size: 11px;
}
.block-editor-page #dolly {
display: none;
}
</style>
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/dolly_css/