ap_post_actions_buttons()
Description #
Post actions buttons.
Source #
File: includes/theme.php
function ap_post_actions_buttons() { if ( ! is_user_logged_in() ) { return; } $args = wp_json_encode( array( 'post_id' => get_the_ID(), 'nonce' => wp_create_nonce( 'post-actions-' . get_the_ID() ), ) ); echo '<postActions class="ap-dropdown"><button class="ap-btn apicon-gear ap-actions-handle ap-dropdown-toggle" ap="actiontoggle" apquery="' . esc_js( $args ) . '"></button><ul class="ap-actions ap-dropdown-menu"></ul></postActions>'; }
Expand full source code Collapse full source code View on GitHub: includes/theme.php:369
Add your comment