ssh root@SERVER_IP_ADDRESS
wget https://dl.eff.org/certbot-auto
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
| <title>Stripe Sample Form</title> | |
| <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
| <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script> | |
| <script type="text/javascript" src="https://js.stripe.com/v1/"></script> | |
| <script type="text/javascript"> |
| add_action('graphql_register_types', function() { | |
| $post_types = WPGraphQL::$allowed_post_types; | |
| if (!empty($post_types) && is_array($post_types)) { | |
| foreach($post_types as $post_type) { | |
| $post_type_object = get_post_type_object($post_type); | |
| register_graphql_field($post_type_object->graphql_single_name, 'styledContent', [ | |
| 'type' => 'String', | |
| 'description' => __('The styled elementor content of the page', 'cottontailpress-headless'), | |
| 'resolve' => function($post) { | |
| $content = ''; |