Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HadiWP committed Jun 16, 2024
2 parents ba4ab12 + 813e1c0 commit be103db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: hadihosseini, mahdisarani, payping
Tags: payping, gravity forms, iran, گرویتی فرم, پی پینگ
Requires at least: 4.0.0
Requires Plugin: گرویتی فرم فارسی
Requires Plugin: persian-gravity-forms
Tested up to: 6.4.1
Requires PHP: 7.2
Stable tag: 2.3.1
Expand All @@ -24,4 +24,4 @@ This plugin leverages the following third-party services:


== Privacy Policy ==
This plugin follows strict privacy guidelines. When using the api.payping.ir service, user data is securely transmitted and stored following industry best practices.
This plugin follows strict privacy guidelines. When using the api.payping.ir service, user data is securely transmitted and stored following industry best practices.
5 changes: 3 additions & 2 deletions payping-gravityforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
Plugin URI: https://www.payping.ir/
Author: Hadi Hosseini
Author URI: https://hosseini-dev.ir/
Requires Plugins: persian-gravity-forms
License: GPLv3 or later
*/
if (!defined('ABSPATH')) exit;

function callback_for_setting_up_scripts(){
wp_enqueue_script( 'gf-admin-scripts', plugin_dir_url( __FILE__ ) . 'assets/js/scripts.js', array(), false, false );
wp_enqueue_script( 'shamsi-chart', esc_url(GFPersian_Payments::get_base_url()) . '/assets/js/shamsi_chart.js', array('jquery'), null, false );
Expand All @@ -28,6 +30,5 @@ function callback_for_setting_up_scripts(){

}
add_action( 'admin_enqueue_scripts', 'callback_for_setting_up_scripts' );


require_once('payping.php');

2 changes: 2 additions & 0 deletions payping.php
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,8 @@ function IsConditionalLogicField(field) {
return index >= 0;
}
</script>
</style>



<?php
Expand Down

0 comments on commit be103db

Please sign in to comment.