How to limit get_posts()?

I’ve been researching this for the last 3 days. I’m triyng to limit the maximum amount of posts retrieved by get_posts(). I have this chunk of code: // all filters should be applied here $args = array( ‘nopaging’ => true, ‘post_type’ => get_option(‘ip_slug’), ‘posts_per_page’ => $ip_ipp, ‘limit’ => 100, ‘orderby’ => $ip_order, ‘order’ => $ip_order_asc_desc, … Read more

is there any limit of length on creating custom taxonomies?

I am using custom taxonomy plugin. And I have custom Post type “Product”. When I am creating new taxonomy “home and garder Appliances Washin” and attaching it to Post or “Product” it’s not registering with these while If I am adding just “home and garder Appliances Washi” and attaching with either Post or Product it … Read more

Restrict access to post if it is currently being edited

On a platform with many Editors, the problem that I am experiencing is that two editors proofread the same post simultaneously (and disregarding the warning notice about someone else currently editing the post). Is there a solution where I can restrict access to a post if it is currently being edited by a different user? … Read more

WordPress User Name Limitations

I need to know what the wp specifications for the usernames are. Like allowed minimum and maximum length, are special characters like ü,ö,ä,ß accepted,..? Unfortunately I couldn’t find any insight on this in the interweb. Do you have any? 1 Answer 1 I think the answer is in the source. $username = wp_strip_all_tags( $username ); … Read more