bp_get_the_profile_field_datebox

  • apply_filters( 'bp_get_the_profile_field_datebox', $html, $type, $day, $month, $year, $field->id, $date )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 636
      					case 'year':
      						$html .= '<option value=""' . selected( $year, '', false ) . '>----</option>';
      
      						for ( $i = 2037; $i > 1901; $i-- ) {
      							$html .= '<option value="' . $i .'"' . selected( $year, $i, false ) . '>' . $i . '</option>';
      						}
      						break;
      				}
      
      				$html = apply_filters( 'bp_get_the_profile_field_datebox', $html, $type, $day, $month, $year, $field->id, $date );
      
      				break;
      		}
      
      		return $html;
      	}
      
      function bp_the_profile_field_is_required() {
      	echo bp_get_the_profile_field_is_required();
      }
      

Comments are closed.