Hiding posts and pages in panel

The code you posted doesn’t work because there is no global $currentpage. There are $current_screen and $pagenow. add_action( ‘pre_get_posts’, ‘wpse_63414_hide_pages’ ); function wpse_63414_hide_pages( $query ) { if( !is_admin() ) return $query; global $pagenow; $pages = array(‘2′,’26’); if( ‘edit.php’ == $pagenow && ( get_query_var(‘post_type’) && ‘page’ == get_query_var(‘post_type’) ) ) $query->set( ‘post__not_in’, $pages ); return $query; … Read more

Include custom table into search results

It’s probably SQL Full Text Search what you’re looking for. Maybe this tutorial helps you forward: http://www.blrf.net/howto/49_Wordpress__How_to_implement_MySQL_full_text_search_.html There is also a WP plugin with Full Text Search capability, but it’s not updated for a while: http://urbangiraffe.com/plugins/search-unleashed/

Is there a wordpress function to cleanly delete an entry in the signups table?

You are correct about the row not having much use outside of a two day threshold where a user doesn’t activate their account. I took a look at the codebase and can confirm there is no API function for removing a signup entry. The only code that removes a signup is the wpmu_validate_user_signup() function. It … Read more