Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'wcfm_settings_update', function( $wcfm_settings_form ) {
- $endpoints = array_map( 'sanitize_title', $wcfm_settings_form['wcfm_endpoints'] );
- wcfm_update_option( 'wcfm_endpoints', $endpoints );
- }, 11 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement