Get inline css for specific post
-
I’ve asked the same question here, but i’ll give it a go here as well.
I will send the post data over the REST API and i want to attach the needed css for the post. The global variable
$siteorigin_panels_inline_css;
gives me the needed css for the containers, but i will also need the widget css.A bad thing about using this global variable is that when i’m listing posts with the rest API each post get CSS for all other posts in the list.
So, what i like to achieve is something more likeget_all_inline_css_for_post($post_id);
Any suggestions?
- The topic ‘Get inline css for specific post’ is closed to new replies.