MemberPress: Add a Custom Field To Manage Sub Account Table
add_action( ‘mpca-sub-accounts-th’, function( $curr_user, $sub_accounts ) { ?>Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_action( ‘mpca-sub-accounts-th’, function( $curr_user, $sub_accounts ) { ?>Continue reading
add_filter( ‘mepr-admin-subscriptions-cols’, function( $cols ) { $cols[‘col_address’] = __( ‘Address’, ‘memberpress’ ); return $cols; }); add_action( ‘mepr-admin-subscriptions-cell’, function( $column_name, $rec, $table, $attributes ) { if( $column_name === ‘col_address’ ) { $user = new MeprUser( ( int ) $rec->user_id ); $address_one…Continue reading
How many people in session? 234567891011 ProceedContinue reading
PayPal JS SDK Advanced Integration – Checkout Flow Billing Address Pay now with CardContinue reading
PayPal JS SDK Standard IntegrationContinue reading
Cookie Consent by Free Privacy Policy Generator Update cookies preferencesContinue reading
add_filter( ‘aioseo_schema_output’, ‘aioseo_filter_schema_output’ ); function aioseo_filter_schema_output( $graph ) { if ( ! function_exists( ‘is_product’ ) || ! is_product() ) { return $graph; } foreach ( $graph as &$item ) { if ( ‘Product’ !== $item[‘@type’] ) { continue; } if…Continue reading
const clientId = “913975986247-4v5j5nhs493nnnolshuq6lt5lr1n3mkq.apps.googleusercontent.com”; const clientSecrect = “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”; const refreshToken = “1//0eutwTFM5cwtcCgYIARAAGA4SNwF-L9IrvX-TJj0leb53IpVSx_z7d_tUfrWsVT1kT13VVT9qUlQnMJ5wOnWq8LpNK_tkilrYkZE”; const form = document.getElementById(“warranty-search-form”); const resultsContainer = document.getElementById(“warranty-result”); if(form) { form.addEventListener(“submit”, async (e) => { e.preventDefault(); if(grecaptcha.getResponse() !== “”){ resultsContainer.innerHTML = ‘ ‘; const searchInput = document.getElementById(“warranty-serial-input”); //…Continue reading