ap_get_page_slug( string $slug )
Description #
Return AnsPress page slug.
Parameters #
- $slugstring (Required) Default page slug.
Source #
File: includes/theme.php
function ap_get_page_slug( $slug ) { $option = ap_opt( $slug . '_page_slug' ); if ( ! empty( $option ) ) { $slug = $option; } return apply_filters( 'ap_page_slug_' . $slug, $slug ); }
Expand full source code Collapse full source code View on GitHub: includes/theme.php:1035
Add your comment