You appear to be a bot. Output may be restricted
Description
Someone follows my blog section
Usage
Jetpack_Subscriptions::social_notifications_subscribe_section();
Parameters
Returns
void
Source
File name: jetpack/modules/subscriptions.php
Lines:
1 to 20 of 20
public function social_notifications_subscribe_section() { // Atypical usage here. We emit jquery to move subscribe notification checkbox to be with the rest of the email notification settings ?> <script type="text/javascript"> jQuery( function( $ ) { var table = $( '#social_notifications_subscribe' ).parents( 'table:first' ), header = table.prevAll( 'h2:first' ), newParent = $( '#moderation_notify' ).parent( 'label' ).parent(); if ( ! table.length || ! header.length || ! newParent.length ) { return; } newParent.append( '<br/>' ).append( table.end().parent( 'label' ).siblings().andSelf() ); header.remove(); table.remove(); } ); </script> <?php }