MALiberato
Forum Replies Created
-
Forum: Plugins
In reply to: [Flat Rate per State/Country/Region for WooCommerce] WordPress 4.5.3Thank you!
No, no errors. It’s like wordpress started ignoring attributes. It says I have 0 attributes.
Desculpe, procurei no fórum mas n?o nas FAQs. O problema foi uma das op??es no plugin de eventos. Está resolvido! Obrigada.
é possível testar sem fazer realmente o pagamento?
“Delete all options” solved it
Forum: Plugins
In reply to: [OpenTickets Community Edition] PDF on emailNo. I had to move to a paid solution because I didn’t have time to write that. Sorry :/
I didn’t use that but it’s working… for anyone who want to do the same:
//hook profile updates add_action( 'profile_update', 'my_profile_update', 10, 2 ); //create the function. $user_id is the updated user id function my_profile_update( $user_id, $old_user_data ) { //get the custom field data and verify if it's empty $user_info = get_userdata($user_id); $custom_field = $user_info->custom_field; if (!empty($custom_field)){ //if the custom_field is empty, find user email $user_email = $user_info->user_email; //connect to DB global $wpdb; //delete row where the email exists $wpdb->delete( 'wp_es_emaillist', array( 'es_email_mail' => $user_email ) ); } }
If anyone has a better solution please tell me
Thank you! I’ll try
We have online and in person sales, it won’t work. I only need to know how to unsubscribe a person in php, I can do the rest.
Forum: Plugins
In reply to: [OpenTickets Community Edition] PDF on emailThat makes sense. You could, however, send a second email with the tickets. I’ll take a look on other plugins but if I return to this one I’ll try to make it work and I’ll send it to you.
Forum: Plugins
In reply to: [Posts 2 Posts] Update relations with Advanced Custom Fieldsfor anyone interested, it may not be the best solution but it works. replace YOUR_ACF_FIELD with your actual acf field
//Function to delete any relation between the updated post and orbis_persons function wpa85599_acf_update_value( $value, $field, $post_id ){ $YOUR_ACF_FIELD = $value; //Get the updated project ID $project_id = get_the_ID(); //find every orbis_person $loop = new WP_Query( array( 'post_type' => 'orbis_person') ); if ( $loop->have_posts() ) : //for each person, het the ID and disconnect the person from the updated project while ( $loop->have_posts() ) : $loop->the_post(); $to = get_the_ID(); p2p_type( 'orbis_projects_to_persons' )->disconnect( $project_id, $to ); endwhile; endif; wp_reset_postdata(); //make a new connection between your new person and the updated project p2p_type( 'orbis_projects_to_persons' )->connect( $project_id, $YOUR_ACF_FIELD, array( 'date' => current_time('mysql')) ); //define and return YOUR_ACF_FIELD as your new ACF field value $value = $YOUR_ACF_FIELD; return $YOUR_ACF_FIELD; }; add_filter('acf/update_value/name=YOUR_ACF_FIELD', 'wpa85599_acf_update_value', 10, 3);
Forum: Fixing WordPress
In reply to: Session keeps on expiring, reverts to old themeHello,
did you find any solution for this? I’m having a very similar problem… the session expires and the last changes I made (everything… from updating the worpress core to adding new products in woocommerce) disappear) and suddenly everything comes back to the “recent version”.Forum: Themes and Templates
In reply to: [Resolution] menu drops only on the main page_Resolution themeDid you find how to fix this? I’m having the same problem… it works only in some pages.
Forum: Plugins
In reply to: [Ajax Search Lite - Live Search & Filter] some characters don't workhello.
do you know when will the update be ready?Forum: Plugins
In reply to: [Ajax Search Lite - Live Search & Filter] some characters don't workok. thank you.