{"id":12770714,"date":"2020-05-02T20:30:34","date_gmt":"2020-05-02T20:30:34","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/include-php-within-css\/"},"modified":"2020-05-02T20:30:34","modified_gmt":"2020-05-02T20:30:34","slug":"include-php-within-css","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/include-php-within-css\/","title":{"rendered":"Include PHP within CSS?"},"content":{"rendered":"<p>I would like to pass a value to Admin CSS MU from an ACF Option page color picker. Is there a way that I can include the following? Currently the php content is being stripped at &#8216;Save&#8217;. <\/p>\n<pre><code>.mybackground-color {\t\n \t\tbackground-color:&lt;?php the_field(&#039;page_background_color&#039;, &#039;option&#039;); ?&gt;;\n     } <\/code><\/pre>\n","protected":false},"template":"","class_list":["post-12770714","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12770714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12770714\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12770714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}