Tag Info

New answers tagged

2

There is even a better solution: a filter called plugin_locale. It filters the locale argument before using it in load_plugin_textdomain. add_filter( 'plugin_locale', 'mytheme_plugin_locale' ); function mytheme_plugin_locale() { return 'en_US'; }


1

I haven't tried the Gravity Forms plugin but if you are using the wp_insert_post function to insert the new post, you just use 'post_excerpt'. example: $new_post = array( 'post_title' => 'Post Title', 'post_content' => 'Post Content', 'post_status' => 'publish', 'post_excerpt' => $custom_excerpt_field ); ...


0

*registration_redirect* is a filter hook, not an action hook, so your *redirect_after_success_registration* function never actually gets run. See this example of how to redirect using the filter: How to redirect a sucessful registration to a page template?



Top 50 recent answers are included