Additional condition in code | WordPress.org

[ad_1]

Hi

It would be great if you could help me with this.

[path]\wp-content\plugins\classified-listing-pro\app\Controllers\Hooks\TemplateHooks.php

How do I add another condition to this line

if ( Fns::registered_user_only( 'listing_seller_information' ) && ! is_user_logged_in() )

to check for

if ( $member && ! $member->is_expired() )

How do I add this condition to check?

Thanks a lot

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer