Viewing 1 replies (of 1 total)
  • Plugin Author cartpauj

    (@cartpauj)

    You can use the prli_create_pretty_link() function to programmatically create a pretty link.

    /app/controllers/PrliLocalApiController.php

    function prli_create_pretty_link( $target_url,
                                      $slug = '',
                                      $name = '',
                                      $description = '',
                                      $group_id = 0,
                                      $track_me = '',
                                      $nofollow = '',
                                      $redirect_type = '',
                                      $param_forwarding = '',
                                      $param_struct = '' ) {
      $ctrl = new PrliLocalApiController();
      return $ctrl->create_pretty_link( $target_url,
                                        $slug,
                                        $name,
                                        $description,
                                        $group_id,
                                        $track_me,
                                        $nofollow,
                                        $redirect_type,
                                        $param_forwarding,
                                        $param_struct );
    }
Viewing 1 replies (of 1 total)
  • The topic ‘PrettyLinks hiding URL parameters’ is closed to new replies.