Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function reg_step_submit_button() {
- if ( ! $this->checkout->next_step instanceof EE_SPCO_Reg_Step ) {
- return '';
- }
- ob_start();
- do_action( 'AHEE__before_spco_whats_next_buttons', $this->slug(), $this->checkout->next_step->slug(), $this->checkout );
- $html = ob_get_clean();
- // generate submit button
- $sbmt_btn = new EE_Submit_Input( array(
- 'html_name' => 'spco-go-to-step-' . $this->checkout->next_step->slug(),
- 'html_id' => 'spco-go-to-step-' . $this->checkout->next_step->slug(),
- 'html_class' => 'spco-next-step-btn', //JLK EDIT LOGIN BUTTON REG PAGE
- 'other_html_attributes' => ' rel="' . $this->slug() . '"',
- 'default' => '> ' . $this->submit_button_text()
- ));
- $sbmt_btn->set_button_css_attributes( TRUE, 'large' );
- $sbmt_btn_html = $sbmt_btn->get_html_for_input() ;
- EE_Registry::instance()->load_helper('HTML');
- $html .= EEH_HTML::div(
- apply_filters( 'FHEE__EE_SPCO_Reg_Step__reg_step_submit_button__sbmt_btn_html', $sbmt_btn_html, $this ),
- // apply_filters( 'FHEE__EE_SPCO_Reg_Step__reg_step_submit_button__sbmt_btn_text', $sbmt_btn, $this->submit_button_text()),
- 'spco-' . $this->slug() . '-whats-next-buttons-dv',
- 'spco-whats-next-buttons'
- );
- return $html;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement