????JFIF??x?x????'
Server IP : 104.21.80.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/pontiacques.org/wp-content/plugins/simple-membership/js/ |
Upload File : |
/** * Payment button block script. * * @package simple-membership */ let swpm_element = wp.element.createElement, swpm_registerBlockType = wp.blocks.registerBlockType, swpm_serverSideRender = wp.serverSideRender, swpm_selectControl = wp.components.SelectControl, swpm_InspectorControls = wp.blockEditor.InspectorControls; swpm_registerBlockType( 'simple-membership/payment-button', { title: swpm_block_button_str.title, description: swpm_block_button_str.description, icon: 'money-alt', category: 'common', edit: function (props) { return [ swpm_element( swpm_serverSideRender, { block: 'simple-membership/payment-button', attributes: props.attributes, } ), swpm_element( swpm_InspectorControls, {}, swpm_element( 'div', {className: 'swpm-payment-block-ic-wrapper'}, swpm_element( swpm_selectControl, { label: swpm_block_button_str.paymentButton, value: props.attributes.btnId, options: swpm_button_options, onChange: (value) => { props.setAttributes( {btnId: value} ); }, } ) ) ), ]; }, save: function () { return null; }, } );