// Skip show library screen add_filter( ‘wpcode_add_snippet_show_library’, ‘__return_false’ ); // Move status column add_filter( ‘wpcode_code_snippets_table_columns’, function ( $columns ) { if ( isset( $columns[‘status’] ) ) { $status = $columns[‘status’]; unset( $columns[‘status’] ); $columns = array_slice( $columns, 0, 1, true…Continue reading
add_filter( ‘wpcode_snippets_per_page’, function() { return 25; });Continue reading
add_filter( ‘woocommerce_cart_shipping_method_full_label’, ‘wcv_override_vendor_shipping_label’, 10, 2 ); function wcv_override_vendor_shipping_label( $label, $method ){ $label = ‘Flat-rate’; // <- Change this to your preferred prefix $has_cost = 0 cost; $hide_cost = ! $has_cost && in_array( $method->get_method_id(), array( ‘free_shipping’, ‘local_pickup’ ), true ); if…Continue reading
add_filter( ‘yith_ywpo_pre_order_product_label’, function($message, $pre_order, $id, $cart_item) { return ‘Questo prodotto potrebbe subire ritardi rispetto ai tempi di spedizione standard’; }, 10, 4 );Continue reading
add_filter( ‘gravityview_edit_entry_title’, ‘gk_change_edit_entry_title’, 10, 1); function gk_change_edit_entry_title( $previous_text = ‘Edit Entry’ ) { $view_id = GravityView_View::getInstance()->getViewId(); if($view_id == 5082){ $title = ‘Edit My Registration’; } return $title; }Continue reading
add_filter( ‘gravityview_edit_entry_title’, ‘gk_change_edit_entry_title’, 10, 1); function gk_change_edit_entry_title( $previous_text = ‘Edit Entry’ ) { $view_id = GravityView_View::getInstance()->getViewId(); if($view_id == 5082){ $title = ‘Edit My Registration’; } return $title; }Continue reading
add_filter( ‘gravityview_edit_entry_title’, ‘gk_change_edit_entry_title’, 10, 1); function gk_change_edit_entry_title( $previous_text = ‘Edit Entry’ ) { $view_id = GravityView_View::getInstance()->getViewId(); if($view_id == 5082){ $title = ‘Edit My Registration’; } return $title; }Continue reading
/** Funktion zur Ermittlung aller Einträge in einem Formidable Form. Optional kann mit einem $searchTerm gefiltert werden. */ function getOneEntryFromForm($entry_id) { // API-Schlüssel abrufen $frmApiKey = getFormidableApiKey(); // Die vollständige API-URL $url = “https://dev.transformationalchange.de/wp-json/frm/v2/entries/” . $entry_id; // Optionen für die…Continue reading
add_action( ‘gform_stripe_customer_after_create’, ‘save_stripe_customer_id_to_entry’, 10, 2 ); function save_stripe_customer_id_to_entry( $customer, $feed ) { global $entry; // Save the Stripe customer ID to the entry if the user is not logged in if ( !is_user_logged_in() && isset( $customer->id ) && !empty( $customer->id…Continue reading
php_value memory_limit 256MContinue reading