pbs_iframe_header

pbs_iframe_header

pbs_iframe_header

Used within the iframe used by PBS to render its responsive view during editing. This is called right before the <head> tag closes and can be used to add scripts and styles.

Parameters

None.

Example

add_action( 'pbs_iframe_header', 'change_bg_color' );

function change_bg_color() {
	?>
	<style>
	body {
		background-color: hotpink;
	}
	</style>
	<?php
}

Still need help? Contact Us

Share this page!

Facebook
Twitter
LinkedIn
WhatsApp
Telegram
Skype

The Author

Contact Us