PluginProbe
School Management System – WPSchoolPress / trunk
School Management System – WPSchoolPress vtrunk
2.2.48 2.2.47 2.2.46 2.2.45 2.2.44 2.2.43 2.2.42 2.2.41 2.2.40 2.2.39 2.2.38 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 All 103 releases
← All changes | pages/wpsp-class.php +9 -0 2.2.43trunk View file →
@@ -87,8 +87,17 @@
87 87 <td><?php echo esc_html($wpsp_class->c_loc);?></td>
88 88 <?php if( $current_user_role=='administrator' ) { ?>
89 89 <td align="center">
90 90 <div class="wpsp-action-col">
91 + <?php
92 + /**
93 + * Generic hook so addons (e.g. Payments) can inject their own
94 + * per-row action icons/links without this core file needing to
95 + * know anything about them. Passes the class id and the full
96 + * class row object.
97 + */
98 + do_action( 'wpsp_class_list_row_actions', $wpsp_class->cid, $wpsp_class );
99 + ?>
91 100 <a href="<?php echo esc_url(wpsp_admin_url().'sch-class&id='.esc_attr($wpsp_class->cid)."&edit=true");?>" title="Edit">
92 101 <i class="icon dashicons dashicons-edit wpsp-edit-icon"></i></a>
93 102 <a href="javascript:;" id="d_teacher" class="wpsp-popclick" data-pop="DeleteModal" title="Delete" data-id="<?php echo esc_attr($wpsp_class->cid);?>" >
94 103 <i class="icon dashicons dashicons-trash wpsp-delete-icon" data-id="<?php echo esc_attr($wpsp_class->cid);?>"></i>