Ren Ventura
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Delete User Accounts] Latest UpdatedHi there. Compatibility with WordPress 6.0 was tested and confirmed, and an update released. Thanks for the feedback.
Forum: Reviews
In reply to: [WP Delete User Accounts] Repaired by the authorI’m able to confirm the plugin works with WordPress 5.8.1. Also, if you’re customer accounts are using WooCommerce, I was able to confirm the plugin works with WooCommerce 5.6.0.
By default, though, you have to “enable” the plugin to work with WooCommerce. You can do so with the following code snippet (add to your theme’s functions.php file).
add_filter( 'wp_delete_user_accounts_load_assets_on_frontend', 'wp_delete_user_accounts_load_assets_on_woocommerce_edit_account' ); /** * Add the WP Delete User Accounts CSS and JS files to the WooCommerce edit-account endpoint * * @param boolean $load Whether the assets are to be loaded (by default, will only load when post content has the [wp_delete_user_accounts] shortcode) * * @return boolean */ function wp_delete_user_accounts_load_assets_on_woocommerce_edit_account( $load ) { return is_wc_endpoint_url( 'edit-account' ) ? true : $load; } add_action( 'woocommerce_after_edit_account_form', 'wp_delete_user_accounts_delete_button_after_edit_account' ); /** * Output the WP Delete User Accounts delete button after the edit-account form in WooCommerce * @author Ren Ventura <renventura.com> */ function wp_delete_user_accounts_delete_button_after_edit_account() { echo do_shortcode('[wp_delete_user_accounts]'); }
Forum: Plugins
In reply to: [WooCommerce Add to Cart Custom Redirect] the plugin is still active?Yes, it’s still active.
Forum: Plugins
In reply to: [WooCommerce Add to Cart Custom Redirect] Does not redirectHello. Can you share a link to your product so I can take a look?
Forum: Plugins
In reply to: [WP Delete User Accounts] Doesn’t Work with WordPress 5.5It’s hard for me to say what could be going on. I tested on my end with latest versions of WordPress and WooCommerce, but I’m not seeing the issue. I’d try deactivating other plugins and switching over to a stock theme to see if that resolves it. If it does, switch back to your theme and reactivate your plugins one by one, checking the account page after each. That should help identify potential conflicts.
Forum: Plugins
In reply to: [WP Delete User Accounts] Doesn’t Work with WordPress 5.5The only way to modify the appearance is with CSS, so you’ll need to write your own custom styles.
By default, the delete button should only show up in one area – the profile page of the WordPress admin. You can display it elsewhere with shortcodes and template functions. Perhaps you’ve added one of these to your account templates?
Forum: Plugins
In reply to: [WP Delete User Accounts] Doesn’t Work with WordPress 5.5Hi there,
Just to confirm, are you logged in as an administrator or some other role?
This plugin doesn’t display a delete button for administrators. This is done to protect against locking yourself out of your site. To see the delete button, you’ll need to log in with an account that does not have the administrator role.
Forum: Plugins
In reply to: [WP Delete User Accounts] What is the shortcode for front end[wp_delete_user_accounts label="My Label" button_text="Button Text"]
Forum: Plugins
In reply to: [WP Delete User Accounts] Is it possible to style the popups?Yes, you can style it with custom CSS.
Forum: Plugins
In reply to: [WP Delete User Accounts] Plugin not visible in the WP dashboard menuHello. The plugin adds a section to a user’s profile page in the wp-admin (except for administrators), which is used to delete their account. It also adds a shortcode,
[wp_delete_user_accounts]
, that you can use to show the delete button on the frontend of your site.Other than that, there are no settings, so no section under the settings tab.
Let me know if you have any other questions.
On first glance, that looks like it may work. I think you’ll need to use the variation IDs (comma separated) after the
add-to-cart=
portion of the URL.Hi Roland,
Out of the box, WooCommerce doesn’t support adding multiple variations to the cart via URL (just one at a time). You could achieve this, but you’d need some custom code to process the multiple variations.
Forum: Plugins
In reply to: [WooCommerce Add to Cart Custom Redirect] Yes or No ButtonHi Ruth,
Since the plugin only triggers the redirects on add-to-cart, it wouldn’t send users to the next step unless they actually added a product in the funnel. So you will need something like a simple text link/button to take them to the next product if they choose not to add a product.
It sounds like you’d probably want to hook somewhere into the WooCommerce add-to-cart form to add a link/button that takes users to the next product in the funnel.
Forum: Plugins
In reply to: [WP Delete User Accounts] WooCommerce abandoned?That’s awesome, thank you!
Forum: Plugins
In reply to: [WP Delete User Accounts] WooCommerce abandoned?I added a few hooks to make this possible. You can find the hooks and sample code for adding this to WooCommerce here: https://github.com/renventura/wp-delete-user-accounts