FC – Duplicar posts y páginas

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘fc_wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘fc_wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘fc_wpcode_snippet_duplicate_post_link’ ) ) { function fc_wpcode_snippet_duplicate_post_link(…Continue reading

Extra Content

add_filter( ‘frm_filtered_lookup_options’, ‘change_lookup_options’, 10, 2 ); function change_lookup_options( $options, $args ) { if ( $args[‘field’]->id == 478 ) { // change 25 to the id of the field in the other form foreach ( $options as $k => $option )…Continue reading

Log – Two Fields Dynamic User

add_filter(‘frm_setup_new_fields_vars’, ‘customize_dfe’, 25, 2); function customize_dfe( $values, $field ) { if ( $field->id == 819 && !empty( $values[‘options’] ) ){//Replace 125 with the ID of your dynamic field $temp_values = $values; $temp_values[‘form_select’] = 478; //change 30 to the id of…Continue reading

MemberPress: Change Email Subject in Bulk

function mepr_change_subject($subject, $recipients, $message, $headers) { if (strpos(strtolower($subject), ‘your new password’) !== false) { $subject = ‘Your New Password on yourdomain.com’; } return $subject; } add_filter(‘mepr-wp-mail-subject’, ‘mepr_change_subject’, 10, 4);Continue reading