This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.IO; | |
using UnityEngine; | |
using UnityEngine.InputSystem; | |
public class SignatureCapture : MonoBehaviour | |
{ | |
[SerializeField] private GameObject brushPrefab; | |
[SerializeField] private float brushSize = 0.1f; | |
[SerializeField] private RenderTexture renderTexture; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('pmpro_checkout_before_submit_button', 'my_pmp_jquery'); | |
function my_pmp_jquery() { | |
global $current_user; | |
get_currentuserinfo(); | |
if ($current_user->user_login) { | |
//script will hide billing fields and prefill name and email from WP account | |
?> | |
<script> | |
jQuery( document ).ready(function($) { |
OlderNewer