Suppose i am developing a plugin that is related too booking.Next time i want to add an add-ons on that plugin for payment.Then i added another add-ons for paypal payment.
Assume that below is the payment gateway UI interface in html
<div class="payments-options">
<div class="bank-payment"></div>
<div class="cash-on-delivery"></div>
<!--- Here i want to add a new div for paypal same as other two ---->
</div>
So how can i use add_filters() , apply_filter(), add_action() and do_action()
Here to achieve this?