| @@ -1,8 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | -include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/headView.php"; | |
| 3 | -include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/headerView.php"; | |
| 4 | -$__tagembed__social_account_id = __tagembed__get_user_social_account_id(); | |
| 2 | +if (!defined('ABSPATH')) : | |
| 3 | + exit; | |
| 4 | +endif; | |
| 5 | +include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/headView.php'; | |
| 6 | +include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/headerView.php'; | |
| 7 | +$__tagembed__social_account_id = ___tagembed__get_user_social_account_id(); | |
| 5 | 8 | ?> |
| 6 | 9 | <!--Start-- Get And Manage Social Accounts --> |
| 7 | -<iframe allow="clipboard-write" name="<?php echo TAGEMBED_PLUGIN_CALL_BACK_URL; ?>" src="<?php echo TAGEMBED_PLUGIN_SERVER_URL; ?>socialaccounts/index/<?php echo $__tagembed__social_account_id; ?>" class="__tagembed__analytics" width="100%" height="100%"></iframe> | |
| 8 | -<?php include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/footerView.php"; ?> | |
| 10 | +<iframe allow="clipboard-write" name="<?php echo esc_attr(TAGEMBED_PLUGIN_CALL_BACK_URL); ?>" src="<?php echo esc_url(TAGEMBED_PLUGIN_SERVER_URL . 'socialaccounts/index/' . $__tagembed__social_account_id); ?>" class="__tagembed__analytics" width="100%" height="100%" title="Tagembed Social Accounts"></iframe> | |
| 11 | +<?php include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/footerView.php'; ?> | |