simpliko / wpadverts

WordPress Classifieds Plugin
https://wpadverts.com/
GNU General Public License v2.0
20 stars 11 forks source link

Pending Payment in [adverts_manage] #125

Closed gwin closed 3 years ago

gwin commented 3 years ago

by default, the pending ads do not show in the [adverts_manage] shortcode, but i am considering changing that soon.

To have the pending ads shown in the [adverts_manage] right now just add the code below in your theme functions.php file

add_filter( "adverts_sh_manage_list_statuses", function( $s ) {
    $s[] = "pending";
    return $s;
} );

https://wordpress.org/support/topic/pending-ads/