mardi 5 janvier 2016

Find Widgets Used In Wordpress Post

I'm writing a wordpress widget plugin. I want to add a css file to the head section only when the widget is used in the post (sidebar or somewhere else).

Is there any way to get if the widget is used in the post before wp_head?

Thank you.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire