Title: MALiberato's Replies | WordPress.org

---

# MALiberato

  [  ](https://wordpress.org/support/users/maliberato/)

 *   [Profile](https://wordpress.org/support/users/maliberato/)
 *   [Topics Started](https://wordpress.org/support/users/maliberato/topics/)
 *   [Replies Created](https://wordpress.org/support/users/maliberato/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/maliberato/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/maliberato/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/maliberato/engagements/)
 *   [Favorites](https://wordpress.org/support/users/maliberato/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/maliberato/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/maliberato/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Flat Rate per State/Country/Region for WooCommerce] WordPress 4.5.3](https://wordpress.org/support/topic/wordpress-453-454/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years ago](https://wordpress.org/support/topic/wordpress-453-454/#post-7615219)
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Woocommerce attributes and Falcon Engine](https://wordpress.org/support/topic/woocommerce-attributes-and-falcon-engine/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-attributes-and-falcon-engine/#post-7355443)
 * No, no errors. It’s like wordpress started ignoring attributes. It says I have
   0 attributes.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, Cofidis Pay, and PIX (ifthenpay) for WooCommerce] Woocommerce Events e IfThenPay](https://wordpress.org/support/topic/woocommerce-events-e-ifthenpay/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-events-e-ifthenpay/#post-7343555)
 * Desculpe, procurei no fórum mas não nas FAQs. O problema foi uma das opções no
   plugin de eventos. Está resolvido! Obrigada.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multibanco, MB WAY, Credit card, Apple Pay, Google Pay, Payshop, Cofidis Pay, and PIX (ifthenpay) for WooCommerce] Woocommerce Events e IfThenPay](https://wordpress.org/support/topic/woocommerce-events-e-ifthenpay/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-events-e-ifthenpay/#post-7343536)
 * É possível testar sem fazer realmente o pagamento?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photonic Gallery & Lightbox for Flickr, SmugMug & Others] Can't open picasa albums](https://wordpress.org/support/topic/cant-open-picasa-albums/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/cant-open-picasa-albums/#post-7289619)
 * “Delete all options” solved it
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[OpenTickets Community Edition] PDF on email](https://wordpress.org/support/topic/pdf-on-email/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/pdf-on-email/#post-7214657)
 * No. I had to move to a paid solution because I didn’t have time to write that.
   Sorry :/
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Email Subscribers & Newsletters - Email Marketing, Post Notifications & Newsletter Plugin for WordPress] Add and remove subscribers programmatically](https://wordpress.org/support/topic/add-and-remove-subscribers-programmatically/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/add-and-remove-subscribers-programmatically/#post-7225483)
 * 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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Email Subscribers & Newsletters - Email Marketing, Post Notifications & Newsletter Plugin for WordPress] Add and remove subscribers programmatically](https://wordpress.org/support/topic/add-and-remove-subscribers-programmatically/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/add-and-remove-subscribers-programmatically/#post-7225442)
 * Thank you! I’ll try
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Email Subscribers & Newsletters - Email Marketing, Post Notifications & Newsletter Plugin for WordPress] Add and remove subscribers programmatically](https://wordpress.org/support/topic/add-and-remove-subscribers-programmatically/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/add-and-remove-subscribers-programmatically/#post-7225355)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[OpenTickets Community Edition] PDF on email](https://wordpress.org/support/topic/pdf-on-email/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/pdf-on-email/#post-7214567)
 * That 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] Update relations with Advanced Custom Fields](https://wordpress.org/support/topic/update-relations-with-advanced-custom-fields/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/update-relations-with-advanced-custom-fields/#post-7138602)
 * for 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Session keeps on expiring, reverts to old theme](https://wordpress.org/support/topic/session-keeps-on-expiring-reverts-to-old-theme/)
 *  [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/session-keeps-on-expiring-reverts-to-old-theme/#post-6273706)
 * Hello,
    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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Resolution] menu drops only on the main page_Resolution theme](https://wordpress.org/support/topic/menu-drops-only-on-the-main-page_resolution-theme/)
 *  [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/menu-drops-only-on-the-main-page_resolution-theme/#post-5981951)
 * Did you find how to fix this? I’m having the same problem… it works only in some
   pages.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Search Lite - Live Search & Filter] some characters don't work](https://wordpress.org/support/topic/some-characters-dont-work/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/some-characters-dont-work/#post-5781154)
 * hello.
    do you know when will the update be ready?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Search Lite - Live Search & Filter] some characters don't work](https://wordpress.org/support/topic/some-characters-dont-work/)
 *  Thread Starter [MALiberato](https://wordpress.org/support/users/maliberato/)
 * (@maliberato)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/some-characters-dont-work/#post-5781124)
 * ok. thank you.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/maliberato/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/maliberato/replies/page/2/?output_format=md)