# collectchat/trunk/meta.php

Chatbot for WordPress by Collect.chat ⚡️, version trunk. 17 lines.

- Page: https://pluginprobe.com/plugins/collectchat/trunk/code/meta.php
- Raw: https://pluginprobe.com/plugins/collectchat/trunk/raw/meta.php
- Modified: 2023-11-23T13:44:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/collectchat/trunk/code/meta.php#L10-L20`.

```php
<div class="cc_meta_control">
	<textarea name="_inpost_head_script[synth_header_script]" rows="5" style="width:98%;" <?php disabled(!current_user_can( 'unfiltered_html') ); ?>><?php 
		$allowed_html = array(
			'script' => array(),
		);
		
		if(!empty($meta['synth_header_script'])) echo wp_kses($meta['synth_header_script'], $allowed_html); 
	?></textarea>
	<?php
        if(!current_user_can( 'unfiltered_html' )) {
        	echo '<p style="color:#ffc107"><b>Note:</b> ' . __('You do not have permission to add or edit scripts. Please contact your administrator.', 'collectchat') . '</p>';
        } else {
			echo '<p>'.__('Copy and paste the code snippet to add bot to this post or page', 'collectchat').'</p>'	;
		}
    ?>
</div>

```
