public function register_media_assets() { if ('pods_media_attachment' == pods_var('inlineId', 'get')) { wp_enqueue_style('pods-attach'); } }