WC Paid Listings snippets

Note: All code examples on this site are provided for developer reference/guidance only and we cannot guarantee that they will always work as expected. Our support policy does not include assistance with modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.

↑ Back to Top Remove the “My Packages” section from My Account

add_action( 'plugins_loaded', 'dj_remove_my_jobs', 20 );

function dj_remove_my_jobs() {
	remove_action( 'woocommerce_before_my_account', array( WC_Paid_Listings_Orders::get_instance(), 'my_packages' ) );