__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Get MyPayKit forms.
*
* @return void
*/
function seedprod_lite_get_mypaykit() {
if ( check_ajax_referer( 'seedprod_nonce' ) ) {
if ( ! current_user_can( apply_filters( 'seedprod_builder_preview_render_capability', 'edit_others_posts' ) ) ) {
wp_send_json_error();
}
$forms = array();
if ( defined( 'MYPAYKIT_API_URL' ) ) {
// Make the API request.
$response = wp_remote_get(
MYPAYKIT_API_URL . '/forms',
array(
'timeout' => 15,
'headers' => array(
'Accept' => 'application/json',
'Content-Type' => 'application/json',
),
'body' => array(
'site_token' => get_option( 'mypaykit_site_token' ),
'mypaykit_token' => get_option( 'mypaykit_token' ),
),
)
);
if ( ! is_wp_error( $response ) ) {
$body = wp_remote_retrieve_body( $response );
$forms_data = json_decode( $body, true );
if ( ! empty( $forms_data['forms']['data'] ) && is_array( $forms_data['forms']['data'] ) ) {
foreach ( $forms_data['forms']['data'] as $form ) {
$forms[] = array(
'id' => $form['uuid'], // Using uuid as the id.
'name' => $form['name'],
);
}
}
}
}
wp_send_json( $forms );
}
}
/**
* Get MyPayKit form code.
*
* @return void
*/
function seedprod_lite_get_mypaykit_code() {
if ( check_ajax_referer( 'seedprod_nonce' ) ) {
if ( ! current_user_can( apply_filters( 'seedprod_builder_preview_render_capability', 'edit_others_posts' ) ) ) {
wp_send_json_error();
}
$id = filter_input( INPUT_GET, 'form_id' );
ob_start();
?>
<div class="sp-relative">
<div class="mypaykit-iframe-wrapper rpoverlay">
<?php // phpcs:ignore /* echo do_shortcode("[mypaykit_form id='$id']"); */ ?>
<?php echo '<iframe src="' . esc_url( MYPAYKIT_WEB_URL . '/pf/' . $id ) . '" style="width: 100%; min-height: 600px; border: none;" scrolling="no"></iframe>'; ?>
</div>
</div>
<?php
$code = ob_get_clean();
wp_send_json( $code );
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| backwards | Folder | 6775 |
|
|
| includes | Folder | 6775 |
|
|
| bootstrap.php | File | 18.51 KB | 0775 |
|
| class-seedprod-notifications.php | File | 9.58 KB | 0775 |
|
| cpt.php | File | 1.06 KB | 0775 |
|
| functions-addons.php | File | 17.88 KB | 0775 |
|
| functions-envira-gallaries.php | File | 714 B | 0775 |
|
| functions-inline-help.php | File | 5.34 KB | 0775 |
|
| functions-mypaykit.php | File | 1.97 KB | 0775 |
|
| functions-openai.php | File | 16.53 KB | 0775 |
|
| functions-rafflepress.php | File | 1.86 KB | 0775 |
|
| functions-seedprod-gallery.php | File | 7 B | 0775 |
|
| functions-utils.php | File | 260.88 KB | 0775 |
|
| functions-wpforms.php | File | 1.6 KB | 0775 |
|
| import-cross-site-functions.php | File | 3.2 KB | 0775 |
|
| license.php | File | 5.63 KB | 0775 |
|
| load_controller.php | File | 1.71 KB | 0775 |
|
| lpage.php | File | 35.11 KB | 0775 |
|
| nestednavmenu.php | File | 5.11 KB | 0775 |
|
| render-csp-mm.php | File | 10.08 KB | 0775 |
|
| render-dynamic-tags.php | File | 26.25 KB | 0775 |
|
| render-lp.php | File | 1.26 KB | 0775 |
|
| routes.php | File | 5.73 KB | 0775 |
|
| settings.php | File | 6.07 KB | 0775 |
|
| setup-wizard.php | File | 11.82 KB | 0775 |
|
| subscriber.php | File | 7 B | 0775 |
|
| theme-templates.php | File | 39.63 KB | 0775 |
|