ap_answers_link( boolean|integer $question_id = false )
Description #
Return link to answers.
Parameters #
- $question_idboolean | integer (Optional) Question ID. Default value: false
Source #
File: includes/functions.php
function ap_answers_link( $question_id = false ) { if ( ! $question_id ) { return get_permalink() . '#answers'; } return get_permalink( $question_id ) . '#answers'; }
Expand full source code Collapse full source code View on GitHub: includes/functions.php:290
Add your comment